From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [PATCH 02/23] PVH xen: turn gdb_frames/gdt_ents into union. Date: Mon, 5 Aug 2013 14:51:54 -0700 Message-ID: <20130805145154.77d31404@mantra.us.oracle.com> References: <1374284705-23122-1-git-send-email-mukesh.rathor@oracle.com> <1374284705-23122-3-git-send-email-mukesh.rathor@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: "xen-devel@lists.xensource.com" , "keir.xen@gmail.com" List-Id: xen-devel@lists.xenproject.org On Mon, 5 Aug 2013 16:55:22 +0100 George Dunlap wrote: > On Sat, Jul 20, 2013 at 2:44 AM, Mukesh Rathor > wrote: > > Changes in V2: > > - Add __XEN_INTERFACE_VERSION__ > > > > Changes in V3: > > - Rename union to 'gdt' and rename field names. > > > > Change in V9: > > - Update __XEN_LATEST_INTERFACE_VERSION__ to 0x00040400 for > > compat. > > > > Signed-off-by: Mukesh Rathor > > Reviewed-by: Jan Beulich > > One thing that's missing here is a description of *why* this change is > being made. Seeing that it's introducing a union isn't too difficult; > harder is figuring out why that's necessary. > > Presumably this is to more closely reflect how an HVM guest's GDT is > stored -- i.e., in the guest's memory and checked by the hardware on > use, rather than in Xen's memory, and checked by Xen on assignment? Right. Unlike PV which passes it's gdt pages to xen to be installed, a PVH only passes the GDT base and size, as it manages its own GDT. I'll add more to the comments. thanks mukesh