Bug 694001
| Summary: | Unable to use "VGA passthrough" function | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Fages <daniel> |
| Component: | xen | Assignee: | Xen Maintainance List <xen-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | berrange, jforbes, kraxel, m.a.young, virt-maint, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | xen-4.0.1-11.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-25 02:39:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
xen-4.0.1-11.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/xen-4.0.1-11.fc14 Package xen-4.0.1-11.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xen-4.0.1-11.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/xen-4.0.1-11.fc14 then log in and leave karma (feedback). xen-4.0.1-11.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When I want to use the "VGA passthrough" function Xen by having the "gfx_passthru=1" in my HVM configuration, the corresponding domain won't start. After some work, this is due to the fact that the Xen Python try to start "qemu-dm" with the "--gfx_passthru 1" option whereas it just should be "--gfx_passthru". Version-Release number of selected component (if applicable): 4.0.1 How reproducible: Configure a VM with GFX passthru Steps to Reproduce: 1. Add gfx_passthru=1 to a VM configuration file 2. Try to start the VM 3. Actual results: The VM won't start Expected results: The VM to start with VGA passthrough function enabled Additional info: This is the patch I propose to correct the problem (for the 64-bit package, should be the same for the 32-bit one after chaning the file path): --- usr/lib64/python2.7/site-packages/xen/xend/image.py 2011-03-23 10:29:53.946082001 +0100 +++ usr/lib64/python2.7/site-packages/xen/xend/image.py 2011-03-23 10:30:18.192082001 +0100 @@ -865,7 +865,7 @@ if a == 'keymap': a = 'k' # Handle booleans gracefully - if a in ['localtime', 'std-vga', 'isa', 'usb', 'acpi']: + if a in ['localtime', 'std-vga', 'isa', 'usb', 'acpi', 'gfx_passthru']: try: if v != None: v = int(v) if v: ret.append("-%s" % a)