[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V10 PATCH 09/23] PVH xen: introduce pvh_set_vcpu_info() and vmx_pvh_set_vcpu_info()
At 17:02 -0700 on 12 Aug (1376326969), Mukesh Rathor wrote: > On Mon, 12 Aug 2013 10:00:36 +0100 Tim Deegan <tim@xxxxxxx> wrote: > > At 16:41 -0700 on 09 Aug (1376066498), Mukesh Rathor wrote: > > > Ugh, to find the G bit, I need to walk the GDT to find the LDT > > > descriptor. > > > > Why so? The caller supplies you with the LDT base and range, not a > > segment selector. I don't think you could find the right LDT selector > > by scanning the GDT anyway -- what if there were two that matched? > > Because the range is interpreted in bytes or pages depending on the G > bit in the descriptor. The range is specified in _entries_. Unless you intend to change the interface, in which case, you could just ask for the descriptor. Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |