Bug 920549
Summary: | error shows when changing video from qxl to other models | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | EricLee <bili> | |
Component: | virt-manager | Assignee: | virt-mgr-maint | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.0 | CC: | codong, cwei, dallan, dyuan, jdenemar, lcui, mjenner, mkletzan, mzhan, tzheng, vbocek | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | virt-manager-0.10.0-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 980334 (view as bug list) | Environment: | ||
Last Closed: | 2014-06-13 10:14:27 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 980334, 985184 |
Description
EricLee
2013-03-12 10:50:36 UTC
This is cause by the wrong use of 'ram' instead of 'vram' and recent change in libvirt, should be trivial to fix. I can reproduce this bug. # rpm -qa libvirt qemu-kvm virt-manager kernel virt-manager-0.9.4-4.el7.noarch libvirt-1.0.3-1.el7.x86_64 qemu-kvm-1.4.0-1.el7.x86_64 setps are same with description: 1. prepare a guest with a qxl video device, guest xml like: <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> 2. # virt-manager, select video device from the guest, and change model from qxl to others will get error: Error changing VM configuration: XML error: ram attribute only supported for type of qxl Results: can't change mode to others, and error come out same as description. This bug also appears in Fedora 19 with virt-manager-0.10.0-0.4.gitb68faac8.fc19.noarch Patch proposed upstream: https://www.redhat.com/archives/virt-tools-list/2013-June/msg00000.html Moving to POST: commit 14578fc2c30b4e694db66443e0dca22ba9727c84 Author: Cole Robinson <crobinso> Date: Mon May 27 18:50:25 2013 -0400 details: Fix changing cirrus->QXL for active VM (bz 928882) Moving to ON_QA as this was fixed long ago, sorry for leaving it in POST. I can reproduce this bug: Version: # rpm -qa libvirt kernel qemu-kvm virt-manager qemu-kvm-1.5.0-2.el7.x86_64 libvirt-1.1.0-1.el7.x86_64 virt-manager-0.9.4-4.el7.noarch kernel-3.7.0-0.36.el7.x86_64 Steps: As steps in description. Result: Can't change qxl to other mode, get error message: Error changing VM configuration: XML error: ram attribute only supported for type of qxl Verify: Version: # rpm -qa qemu-kvm libvirt virt-manager virt-manager-0.10.0-1.el7.noarch qemu-kvm-1.5.1-2.el7.x86_64 libvirt-1.1.0-2.el7.x86_64 kernel-3.7.0-0.36.el7.x86_64 Steps: As steps in description. Result: Can change qxl to other mode. Debug info: --- Original XML +++ New XML @@ -59,8 +59,7 @@ <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/> </sound> <video> - <model type="qxl" ram="65536" vram="65536" heads="1"/> - <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/> + <model type="cirrus"/> </video> <memballoon model="virtio"> <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/> 2013-07-17 15:48:04,792 (details:589): Closing VM details: <vmmDomain object at 0x20370a0 (virtManager+domain+vmmDomain at 0x153cf00)> 2013-07-17 15:48:04,794 (engine:333): window counter decremented to 1 2013-07-17 15:48:05,960 (manager:213): Closing manager 2013-07-17 15:48:05,962 (engine:333): window counter decremented to 0 2013-07-17 15:48:05,979 (details:589): Closing VM details: <vmmDomain object at 0x20370a0 (virtManager+domain+vmmDomain at 0x153cf00)> 2013-07-17 15:48:06,037 (engine:413): Exiting app normally. As the result, change to VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |