WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: pass gfx_passthru parameter to QEMU
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Thu, 03 Feb 2011 09:55:13 -0800
Delivery-date: Thu, 03 Feb 2011 09:55:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxl: pass gfx_passthru parameter to QEMU, Xen patchbot-unstable <=