From: Ian Campbell Subject: Re: xl and GFX passthrough Date: Thu, 13 Jan 2011 09:26:34 +0000 Message-ID: <1294910794.8240.9.camel@zakaz.uk.xensource.com> References: <4D2EC20D.2050603@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D2EC20D.2050603@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sergey Tovpeko Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 2011-01-13 at 09:12 +0000, Sergey Tovpeko wrote: > diff --git a/tools/libxl/libxl.idl b/tools/libxl/libxl.idl > index 81fcfd9..bf3c429 100644 > --- a/tools/libxl/libxl.idl > +++ b/tools/libxl/libxl.idl > @@ -96,6 +96,7 @@ libxl_domain_build_info = > Struct("domain_build_info",[ > ("disable_migrate", bool), > ("kernel", libxl_file_reference), > ("cpuid", libxl_cpuid_policy_list), > + ("gfx_passthru", integer), > ("hvm", integer), > ("u", KeyedUnion(None, "hvm", > [("hvm", "%s", Struct(None, > @@ -161,6 +162,7 @@ libxl_device_model_info = > Struct("device_model_info",[ > ("vcpu_avail", integer, False, "vcpus actually > available"), > ("xen_platform_pci", integer, False, "enable/disable > the xen platform pci device"), > ("extra", libxl_string_list, False, "extra parameters > pass directly to qemu, NULL terminated"), > + ("gfx_passthru", integer), > ], > comment= > """Device Model information. I think gfx_passthrough is actually a boolean, right? In that case it should be declared as "bool" in the idl. Ian.