Bug 928882

Summary: Can't change vm gpu from qxl to *
Product: [Fedora] Fedora Reporter: Adam Jackson <ajax>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: berrange, crobinso, hbrock, jforbes, mrezanin, petersen, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-0.10.0-0.5.gitde1695b2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-01 03:27:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Jackson 2013-03-28 16:48:33 UTC
Create an F18 guest in virt-manager.  Try to change the GPU to, say, vga, and get this traceback:

Error changing VM configuration: XML error: ram attribute only supported for type of qxl

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 2463, in _change_config_helper
    self.vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/domain.py", line 335, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 147, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 137, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 822, in _define
    self.conn.define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 814, in define_domain
    return self.vmm.defineXML(xml)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2808, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: XML error: ram attribute only supported for type of qxl

The amusing thing is that the VRAM isn't even an editable attribute in the GUI, even for qxl.

Comment 1 Cole Robinson 2013-03-28 17:15:51 UTC
virt-manager isn't clearling the new @ram attribute from the qxl block when we change to vga.

Comment 2 Jens Petersen 2013-05-15 07:50:05 UTC
I just ran into this too - kind of serious since qxl kernel console
appears to be garbage for f19 guest.

Comment 3 Fedora Update System 2013-05-27 23:42:20 UTC
virt-manager-0.10.0-0.5.gitde1695b2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/virt-manager-0.10.0-0.5.gitde1695b2.fc19

Comment 4 Fedora Update System 2013-05-28 16:16:02 UTC
Package virt-manager-0.10.0-0.5.gitde1695b2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-0.10.0-0.5.gitde1695b2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9459/virt-manager-0.10.0-0.5.gitde1695b2.fc19
then log in and leave karma (feedback).

Comment 5 Cole Robinson 2013-05-29 16:15:01 UTC
*** Bug 967733 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2013-06-01 03:27:19 UTC
virt-manager-0.10.0-0.5.gitde1695b2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.