From: "Jan Beulich" Subject: Re: [PATCH 18/18] PVH xen: introduce vmx_pvh.c Date: Mon, 01 Jul 2013 09:49:26 +0100 Message-ID: <51D15EB602000078000E1DDF@nat28.tlf.novell.com> References: <1372118507-16864-1-git-send-email-mukesh.rathor@oracle.com> <1372118507-16864-19-git-send-email-mukesh.rathor@oracle.com> <51C991F502000078000E04E5@nat28.tlf.novell.com> <20130627183501.25bafddd@mantra.us.oracle.com> <51CD742902000078000E17D0@nat28.tlf.novell.com> <20130628200319.28718798@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130628200319.28718798@mantra.us.oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 29.06.13 at 05:03, Mukesh Rathor wrote: > Just for my knowledge, why can't we read the GDT entry in the PV case > to get the hidden fields, since we have access to both the GDT base > and the selector? Because what's in the registers may not be what's in the GDT. And of course it would be quite a bit more expensive (as opposed to the PVH case where you can just pick which of the VMCS fields you want to read - there shouldn't be a performance difference). Jan