Add support to xenctx for guests that have a different word size to the tools (x86 only, but shouldn''t break ia64). Again, only 32-bit HVM guests are supported until EFER.LMA is easier to get at. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Jan-05 11:08 UTC
Re: [Xen-devel] [PATCH] compat-mode/HVM support in xenctx
On 05/01/2009 10:58, "Tim Deegan" <Tim.Deegan@citrix.com> wrote:> Add support to xenctx for guests that have a different word size > to the tools (x86 only, but shouldn''t break ia64). Again, only 32-bit > HVM guests are supported until EFER.LMA is easier to get at.Maybe add a VGCF_ or dummy ourselves up a fake CR5 where we can stash these kinds of low-level flags. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tim Deegan
2009-Jan-05 11:10 UTC
Re: [Xen-devel] [PATCH] compat-mode/HVM support in xenctx
At 11:08 +0000 on 05 Jan (1231153689), Keir Fraser wrote:> On 05/01/2009 10:58, "Tim Deegan" <Tim.Deegan@citrix.com> wrote: > > > Add support to xenctx for guests that have a different word size > > to the tools (x86 only, but shouldn''t break ia64). Again, only 32-bit > > HVM guests are supported until EFER.LMA is easier to get at. > > Maybe add a VGCF_ or dummy ourselves up a fake CR5 where we can stash these > kinds of low-level flags.I was thinking of extending the HVM save support to allow a particular type and instance to be requested. That would let us get the full register set for a HVM vcpu without walking the whole save record. But a VGCF_long_mode or similar would be quicker and easier. :) Tim. -- Tim Deegan <Tim.Deegan@citrix.com> Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Jan-05 11:28 UTC
Re: [Xen-devel] [PATCH] compat-mode/HVM support in xenctx
On 05/01/2009 11:10, "Tim Deegan" <Tim.Deegan@citrix.com> wrote:>> Maybe add a VGCF_ or dummy ourselves up a fake CR5 where we can stash these >> kinds of low-level flags. > > I was thinking of extending the HVM save support to allow a particular > type and instance to be requested. That would let us get the full > register set for a HVM vcpu without walking the whole save record. > But a VGCF_long_mode or similar would be quicker and easier. :)I''d prefer the former, of course! But I''d settle for the latter. Overall it prolongs the agony though, imo. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel