[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] pxe not working with libvirt 0.7.7



Hi all,

Maybe this is a known issue, but I had pxe boot working with libvirt 0.7.1

This config:

<domain type='kvm'>
    <name>pxetest</name>
    <vcpu>1</vcpu>
    <memory>196608</memory>
    <os>
        <type>hvm</type>
        <boot dev="network" />
    </os>
    <devices>
        <console type='pty' />
        <interface type='bridge'>
            <source bridge='br1' />
        </interface>
    </devices>
</domain>

Creates the following output with libvirt 0.7.7:

[root localhost data]# virsh create --console pxetest.xml
error: Failed to create domain from pxetest.xml
error: internal error Process exited while reading console log output:
char device redirected to /dev/pts/0
Cannot boot from non-existent NIC

Here's the log:
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -S -M
fedora-13 -enable-kvm -m 192 -smp 1,sockets=1,cores=1,threads=1 -name
pxetest -uuid 0722f833-059e-a172-0d4c-bd2ffe106959 -nographic
-nodefaults -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/pxetest.monitor,server,nowait
-mon chardev=monitor,mode=readline -rtc base=utc -no-acpi -boot n
-device rtl8139,vlan=0,id=net0,mac=52:54:00:9f:b0:bb,bus=pci.0,addr=0x4
-net tap,fd=20,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device
isa-serial,chardev=serial0 -usb -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
char device redirected to /dev/pts/0
Cannot boot from non-existent NIC

libvirt 0.7.1 nicely presents the pxe menu on the console. Here's the
qemu cmd under libvirt 0.7.1:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -S -M
fedora-13 -m 192 -smp 1 -name pxetest -uuid
73a5f203-9417-c362-9d22-eb7da3cdbfde -nographic -monitor
unix:/var/lib/libvirt/qemu/pxetest.monitor,server,nowait -no-acpi
-boot n -net nic,macaddr=52:54:00:84:1e:ca,vlan=0,name=nic.0 -net
tap,fd=18,vlan=0,name=tap.0 -serial pty -parallel none -usb
char device redirected to /dev/pts/0

Regards,

Ruben Kerkhof


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]