DescriptionMikhail Kulemin
2011-01-15 01:58:34 UTC
Description of problem:
Libvirt can not start VM with qxl graphics.
Version-Release number of selected component (if applicable):
libvirt 0.8.7-1.fc14 from virt-preview repo
qemu 0.13.0-1.fc14
How reproducible:
100%
Steps to Reproduce:
1. Create domain with qxl graphics:
(from XML description):
<video>
<model type='qxl' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
2. Try to start virsh start <domain>
Actual results:
error: Failed to start domain WindowsXP
error: unsupported configuration: This QEMU does not support QXL graphics adapters
Expected results:
Domain started normally.
Additional info:
This build of qemu supports qxl: VM can be started manually using qemu command:
qemu-kvm -m 1024 -drive file=/dev/vg_virt/fedora14 -monitor stdio -spice port=1234,disable-ticketing -vga qxl
But libvirt check qxl support using qemu-kvm --help. In output we can not find qxl in supported modes list:
home ~ $ qemu-kvm --help | grep vga
-vga [std|cirrus|vmware|xenfb|none]
So this bug can be fixed by adding qxl in help output of qemu.
Created attachment 475939[details]
failing domain
With this package and libvirt from virt-preview repo the domain (attached) still 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