Launchpad has imported 4 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1169295.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-12-01T09:37:43+00:00 zhoujunqin wrote:

Description of problem:
virt-manager should remove "vgamem" from guest automatically when change video 
from "qxl" to "vga"

Version-Release number of selected component (if applicable):
libvirt-1.2.8-9.el7.x86_64
virt-manager-1.1.0-8.el7.noarch
qemu-kvm-rhev-2.1.2-13.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install a guest via virt-manager with qxl video:
...
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='8192' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x0'/>
    </video>
...

2. Launch virt-manager, change guest video from qxl to vga: Double click
guest name-->Show virtual hardware details-->change video from qxl to
vga-->Apply

Actual results:
After click "Apply" button, get such error message:

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

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1384, in 
change_config_helper
    vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 222, in 
redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 247, in 
_redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 239, in 
_redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1041, in _define
    self.conn.define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 694, in 
define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3442, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: XML error: vgamem attribute only supported for type of qxl

Expected results:
No such error showing and can change guest video successfully.

Additional info:
1. Can also reproduce this issue when change video from qxl to cirrus.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/1496357/comments/0

------------------------------------------------------------------------
On 2014-12-01T15:43:53+00:00 Giuseppe wrote:

fix proposed upstream:

https://www.redhat.com/archives/virt-tools-
list/2014-December/msg00003.html

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/1496357/comments/1

------------------------------------------------------------------------
On 2014-12-03T03:16:51+00:00 zhoujunqin wrote:

Try to verify this bug with new build:
virt-manager-1.1.0-9.el7.noarch

Steps as Comment 0:

1. Install a guest via virt-manager with qxl video:
...
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='8192' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x0'/>
    </video>
...

2. Launch virt-manager, change guest video from qxl to vga: Double click
guest name-->Show virtual hardware details-->change video from qxl to
vga-->Apply

Result: video changed to VGA successfully with no error and guest can
boot up.

     <video>
-      <model type="qxl" ram="65536" vram="65536" vgamem="8192" heads="1"/>
-      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" 
function="0x0"/>
+      <model type="vga"/>
     </video>
     <redirdev bus="usb" type="spicevmc">
     </redirdev>

3. Rerun step2 and change video from qxl to cirrus.

     <video>
-      <model type="qxl" ram="65536" vram="65536" vgamem="8192" heads="1"/>
-      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" 
function="0x0"/>
+      <model type="cirrus"/>
     </video>

Result: video changed to Cirrus successfully with no error and guest can
boot up.

so move this bug from ON_QA to VERIFIED.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/1496357/comments/2

------------------------------------------------------------------------
On 2015-03-05T10:07:37+00:00 errata-xmlrpc wrote:

Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0427.html

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/1496357/comments/3


** Changed in: virt-manager
       Status: Unknown => Fix Released

** Changed in: virt-manager
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1496357

Title:
   XML error: ram attribute only supported for type of qxl

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/1496357/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to