Re: [Xen-devel] [PATCH v2 04/18] x86/traps: move all PV emulation code to pv/emulate_ops.h

2017-05-12 Thread Wei Liu
On Thu, May 11, 2017 at 11:18:39AM +0100, Andrew Cooper wrote: > On 05/05/17 15:48, Wei Liu wrote: > > Move the following emulation code from traps.c: > > > > 1. invalid op > > 2. rdtsc > > 3. privilege instructions > > 4. gate operation > > 5. pv cpuid emulation > > > > Export the emulate_* functi

Re: [Xen-devel] [PATCH v2 04/18] x86/traps: move all PV emulation code to pv/emulate_ops.h

2017-05-11 Thread Andrew Cooper
On 05/05/17 15:48, Wei Liu wrote: > Move the following emulation code from traps.c: > > 1. invalid op > 2. rdtsc > 3. privilege instructions > 4. gate operation > 5. pv cpuid emulation > > Export the emulate_* functions via pv/traps.h. > > No functional change. > > Signed-off-by: Wei Liu As you a