Heya,
So, creating a guest w/ virt-install fails w/ latest libvirt
This is what I see in the guest logs:
qemu-kvm: -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2: Bus 'pci.0' not
found
2012-10-07 11:24:49.145+0000: shutting down
This is clearly reproducible with latest git on Fedora-18. And I was able to create guest
just fine w/ 'libvirt-daemon-kvm-0.10.2-3')
----------------------------------------
$ rpm -q qemu-kvm libvirt-daemon-kvm python-virtinst
qemu-kvm-1.2.0-11.fc18.x86_64
libvirt-daemon-kvm-0.10.2-4.fc18.x86_64
python-virtinst-0.600.3-1.fc18.1.noarch
----------------------------------------
(NOTE: The above libvirt is built from git, on OCT-06-2012, hence you see a bump in the
'release' number there)
That's what the log in /var/log/libvirt/qemu/f17-jeos4.log says
----------------------------------------------------
2012-10-07 11:24:48.764+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/bin/qemu-kvm -name
f17jeos-4 -S -M isapc -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid
32036aaf-f0c0-2922-056f-64986f63783e -nographic -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/f17jeos-4.monitor,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -no-shutdown -kernel
/var/lib/libvirt/boot/virtinst-vmlinuz.bfAHEc -initrd
/var/lib/libvirt/boot/virtinst-initrd.img.QEwMoX -append
method=http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/17/Fe...
ks=file:/fed.ks console=tty0 console=ttyS0,115200 serial rd_NO_PLYMOUTH -device
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
file=/export/vmimgs2/f17jeos-4.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:48:3c:ac,bus=pci.0,addr=0x3 -chardev
pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device
usb-tablet,id=input0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
char device redirected to /dev/pts/11
qemu-kvm: -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2: Bus 'pci.0' not
found
2012-10-07 11:24:49.145+0000: shutting down
[kashyap@moon virt-scripts]$
----------------------------------------------------
On virt-install stdout:
----------------------------------------------------
.
.
.
Retrieving file vmlinuz...
| 8.9 MB 00:00:00 !!!
Retrieving file initrd.img...
| 46 MB 00:00:02 !!!
ERROR Unable to read from monitor: Connection reset by peer
Domain installation does not appear to have been successful.
----------------------------------------------------
This was the script I used creat guest --
http://kashyapc.fedorapeople.org/virt/jeos-guest-create.bash
Any hints?
--
/kashyap