Description of problem: Running libvirt 0.8.6, spice parameters does not work Version-Release number of selected component: 0.8.6 Steps to Reproduce: Change the VM video device from: <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> to: <video> <model type='qxl' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> Try to start VM with: # virsh start Ubuntu Actual results: error: Failed to start domain Ubuntu error: unsupported configuration: This QEMU does not support QXL graphics adapters Expected results: Domain Ubuntu started Additional info: To skip this test, I had to edit the "src/qemu/qemu_command.c", in libvirt source, commenting this lines: /* if ((def->videos[0]->type == VIR_DOMAIN_VIDEO_TYPE_QXL) && * !(qemuCmdFlags & QEMUD_CMD_FLAG_VGA_QXL)) { * qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", * _("This QEMU does not support QXL graphics adapters")); * goto error; * } */
Going deeper in this problem, I saw qemu does not show the vga qxl capability in help: [root@pahim-pc libvirt]# qemu --version QEMU emulator version 0.13.0 (qemu-kvm-0.13.0), Copyright (c) 2003-2008 Fabrice Bellard [root@pahim-pc libvirt]# qemu -help | grep vga -vga [std|cirrus|vmware|xenfb|none] I think libvirt is OK, but qemu needs to show the correct information about capabilities.
*** Bug 669850 has been marked as a duplicate of this bug. ***
Created attachment 474624 [details] Patch for qemu package to fixing help messsages
koji build with michail's patch https://koji.fedoraproject.org/koji/taskinfo?taskID=2734866 mock: ok minor changes (only list of vga has been corrected, not more) SRPM: http://landgraf.fedorapeople.org/qemu-0.13.0-2.fc14.src.rpm please push it to updates
Created attachment 475940 [details] failing domain Sorry for posting this twice but I clicked the wrong bug initially. With this package and libvirt from virt-preview repo the domain (attached) won't start: # LANG=C virsh start windows error: Failed to start domain windows error: wewnętrzny błąd Zakończono proces podczas odczytywania wyjścia dziennika console: qemu-kvm: -spice port=5900,addr=127.0.0.1,disable-ticketing: Invalid parameter 'addr' parse error: port=5900,addr=127.0.0.1,disable-ticketing
This bug explain problem: https://bugzilla.redhat.com/show_bug.cgi?id=664190 With patched libvirt spice works well.
"addr" parse error is a bug of libvirt, not qemu. qemu "spice" section hasn't "addr" option.
It should be noted that in the last development version of qemu we can find "addr" option in spice parameters. So, I hope that in next update of qemu (In virt preview repo) that issue will be fixed.
Created attachment 476098 [details] final patch version This patch disables the failing test so that the srpm can actually be rebuilt.
Comment on attachment 476098 [details] final patch version Oops wrong bug...
Looks like the problem is fixed in version 2:0.14.0-0.1.201102107aa8c46.fc14 which recently appeared in the virt-preview repo.
The problem fixed in rawhide.