> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Wednesday, November 16, 2016 9:42 PM > > On 26/10/16 14:15, Andrew Cooper wrote: > > The x86_segment enumeration matches hardware SReg encoding, which can be > > used > > to calculate the appropriate VMCS fields, rather than open coding every > > instance. > > > > This reduces the size of the switch statement, and the number of embedded > > BUG > > frames from the __vm{read,write}() calls. In the unlikely case that a call > > does fault, the field can unambiguously be retrieved from the GPR state > > printed. > > > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > > --- > > CC: Jan Beulich <jbeul...@suse.com> > > CC: Jun Nakajima <jun.nakaj...@intel.com> > > CC: Kevin Tian <kevin.t...@intel.com> > > Intel: Ping?
Acked-by: Kevin Tian <kevin.t...@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel