[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: pass gfx_passthru parameter to QEMU



# HG changeset patch
# User Allen Kay <allen.m.kay@xxxxxxxxx>
# Date 1296666396 0
# Node ID 4bdb78db22b640794bf9ae14a101303d46849593
# Parent  eee94799ff95b09d00694bcd4e22814d87812da4
libxl: pass gfx_passthru parameter to QEMU

Pass gfx_passthru parameter to QEMU.  Keep it boolean for now as QEMU
does not expect any other integer value.

Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_dm.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r eee94799ff95 -r 4bdb78db22b6 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c    Wed Feb 02 17:05:27 2011 +0000
+++ b/tools/libxl/libxl_dm.c    Wed Feb 02 17:06:36 2011 +0000
@@ -148,6 +148,9 @@ static char ** libxl_build_device_model_
         if ( ioemu_vifs == 0 ) {
             flexarray_vappend(dm_args, "-net", "none", NULL);
         }
+        if (info->gfx_passthru) {
+            flexarray_append(dm_args, "-gfx_passthru");
+        }
     }
     if (info->saved_state) {
         flexarray_vappend(dm_args, "-loadvm", info->saved_state, NULL);
@@ -280,6 +283,9 @@ static char ** libxl_build_device_model_
         if ( ioemu_vifs == 0 ) {
             flexarray_append(dm_args, "-net");
             flexarray_append(dm_args, "none");
+        }
+        if (info->gfx_passthru) {
+            flexarray_append(dm_args, "-gfx_passthru");
         }
     }
     if (info->saved_state) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.