| Summary: | Stable guest ABI doesn't check ram value of video | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | tingting zheng <tzheng> | |
| Component: | libvirt | Assignee: | Ján Tomko <jtomko> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.0 | CC: | acathrow, dyuan, lcui, lsu, mzhan, tzheng, xuzhang | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | libvirt-1.1.1-14.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1035134 (view as bug list) | Environment: | ||
| Last Closed: | 2014-06-13 12:45:28 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1035134 | |||
Fixed upstream:
commit 952ab4c993b88a324c5910346efa4e75a72293b7
Author: Ján Tomko <jtomko>
CommitDate: 2013-12-06 15:00:16 +0100
Add qxl ram size to ABI stability check
55bfd02 added a 'ram' attribute for qxl video devices
but didn't update the ABI check.
https://bugzilla.redhat.com/show_bug.cgi?id=1035123
git describe: v1.2.0-63-g952ab4c
Downstream patch posted:
http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-December/msg00097.html
Tested PASS with:
libvirt-1.1.1-14.el7.x86_64
If I Change the ram value of video:eg:change ram from '65536' to '65535'
change xml from:
<model type='qxl' ram='65536' vram='65536' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
to:
<model type='qxl' ram='65535' vram='65536' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
Error will show when migrating with the updated xml file:
# virsh migrate --live mig qemu+ssh://10.66.5.7/system --xml mig.xml
error: unsupported configuration: Target video card ram 65535 does not match source 65536
Refer to the above comments,move the bug 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. |
Description Stable guest ABI doesn't check ram value of video Version: libvirt-1.1.1-13.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Prepare a guest,set the Display as "Spice" and Video as "QXL". 2.Boot the guest. 3.Use virsh dumpxml to get the xml of the guest. # virsh dumpxml mig > mig.xml 4.Change the ram value of video:eg:change ram from '65536' to '65535' change xml from: <model type='qxl' ram='65536' vram='65536' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> to: <model type='qxl' ram='65535' vram='65536' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> 5.Do migrate,no error shows. # virsh migrate --live mig qemu+ssh://$ip/system --xml mig.xml 6.If I change vram value from xml,there is error. # virsh migrate --live mig qemu+ssh://$ip/system --xml mig.xml error: unsupported configuration: Target video card vram 65535 does not match source 65536 Actual results: As step 5 describes. Expected results: Error shows when ram value in xml is set different with guest. eg:error: unsupported configuration: Target video card ram 65535 does not match source 65536