Red Hat Bugzilla – Bug 694001
Unable to use "VGA passthrough" function
Last modified: 2011-05-24 22:39:31 EDT
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
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
The VM won't start
The VM to start with VGA passthrough function enabled
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']:
if v != None: v = int(v)
if v: ret.append("-%s" % a)
xen-4.0.1-11.fc14 has been submitted as an update for Fedora 14.
* 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:
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.