[fedora-virt] qemu 1.1.0 in Rawhide, and planned backport to F17 (was: Re: Upgrading qemu to 1.1 in rawhide)

Richard W.M. Jones rjones at redhat.com
Fri Jul 6 14:47:46 UTC 2012


[On the topic of qemu 1.1.0 in Fedora 17]

I'm seeing some very peculiar problems with virt-install that might be
due to libvirt.  Is libvirt in F17 too old for qemu 1.1.0?

-------

(1) Just installing qemu-system-x86 isn't enough for libvirt to
recognize any hypervisors:

ERROR    Host does not support any virtualization options 

virsh capabilities doesn't show any <guest> section at all.  Of course
qemu-kvm *is* installed and working.

Solution: install the qemu meta-package.  Unfortunately that means I
have to have qemu-system-{cris,sh4,arm,mips} which I didn't want.

(2) If I use virt-install --cpu=host, I get:

ERROR    unsupported configuration: CPU specification not supported by hypervisor

Solution was to not use this option.

(3) Now virt-install says:

ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/19
Error: Cirrus VGA not available

Solution was to use --graphics=spice.

(4) Now virt-install says:

ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/19
do_spice_init: starting 0.10.1
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
Kernel image must be specified

The error here is "Kernel image must be specified".

By this point it was getting very strange, so I decided to look
at the libvirt log files for the qemu command line ...

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-arm -S -M integratorcp -no-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name OpenSUSE113x64 -uuid 4f959395-9203-7e3d-09e6-e43369286a2c -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/OpenSUSE113x64.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci,addr=0x1.0x2 -drive file=/dev/vg_pin/OpenSUSE113x64,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive file=/mnt/media/installers/OpenSUSE-11.3-x86_64/openSUSE-11.3-NET-x86_64.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=21,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:0d:16:de,bus=pci,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -k en-gb -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci,addr=0x4

Yikes.  ???? qemu-system-arm ????

-------

The version of libvirt is libvirt-0.9.11.4-3.fc17.x86_64, and this is
a mostly up to date F17 system, except that I've installed qemu-kvm
1.1.0 + ceph from Rawhide.

Suggestions welcome.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


More information about the virt mailing list