unknown video model 'qxl'

Bug #717954 reported by Dave Gilbert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: virt-manager

the virt manager gui lets you select 'qxl' as the vga adapter type, however it then says 'Error changing VM configuration: internal error unknwon video model 'qxl'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 1838, in _change_config_helper
    self.vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/domain.py", line 258, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 152, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 142, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 957, in _define
    self.get_connection().define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 777, in define_domain
    self.vmm.defineXML(xml)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1344, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error unknown video model 'qxl'

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: virt-manager 0.8.6-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-3.30-generic 2.6.38-rc4
Uname: Linux 2.6.38-3-generic x86_64
Architecture: amd64
CheckboxSubmission: f2d10bd9f943a85b486a282e7840a570
CheckboxSystem: 0531969bcfd4f03af7405c98dc94a948
Date: Sun Feb 13 01:16:00 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 LC_MESSAGES=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: virt-manager

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

The current qemu-kvm in Natty (0.13) does not yet support qxl. However, next week, we will be merging qemu-kvm 0.14, which does have qxl support. Please retest after that.

Thanks!
Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'm going to mark incomplete for now; please retest with qemu-kvm 0.14 as soon as it's in the archive.

Thanks.
Dustin

Changed in virt-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi Dustin,
With:
ii qemu-kvm 0.14.0~rc1+noroms-0ubuntu3 Full virtualization on i386 and amd64 hardware

I still get the following error; my gut feeling is it's not getting as far as qemu ; this is triggering when I hit 'apply' on the 'video' pane of the VM settings after changing the drop down to qxl.

  Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 1838, in _change_config_helper
    self.vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/domain.py", line 258, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 152, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 142, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 957, in _define
    self.get_connection().define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 777, in define_domain
    self.vmm.defineXML(xml)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1344, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error unknown video model 'qxl'

Changed in virt-manager (Ubuntu):
status: Incomplete → New
Revision history for this message
Ahmed Kamal (kim0) wrote :

Hi,

I can confirm it, with 0.14.0~rc1+noroms-0ubuntu3

virsh dumpxml win7 > win7.xml
vim win7.xml #change video to qxl
virsh define win7.xml
error: Failed to define domain from win7.xml
error: internal error unknown video model 'qxl'

Revision history for this message
Ahmed Kamal (kim0) wrote :

Trying to run kvm binary directly, passing the following parameters " -vga qxl -spice port=5930,disable-ticketing" results in

kvm: -spice port=5930,disable-ticketing: there is no option group "spice"
spice is not supported by this qemu build

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

@Ahmed,

could you please open a bug against qemu-kvm to add -enable-spice to the configure args?

Revision history for this message
Ahmed Kamal (kim0) wrote :

@Serge open as #723796

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

virt-manager should now accept 'qxl' with libvirt 0.8.8 that is now in natty.

Of course, we don't actually have qxl support in kvm because of bug #723796, but this issue can be closed for virt-manager.

If you can still reproduce this with an up-to-date natty, please feel free to reopen it.

Changed in virt-manager (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.