Re: [Xen-devel] [PATCH] x86/VMX: use unambiguous register names

2017-01-04 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Tuesday, January 03, 2017 9:01 PM > > This is in preparation of eliminating the mis-naming of 64-bit fields > with 32-bit register names (eflags instead of rflags etc). Use the > guaranteed 32-bit underscore prefixed names for now where approp

Re: [Xen-devel] [PATCH] x86/VMX: use unambiguous register names

2017-01-03 Thread Andrew Cooper
On 03/01/17 13:01, Jan Beulich wrote: > @@ -1321,10 +1321,10 @@ static void virtual_vmexit(struct cpu_us > if ( lm_l1 != lm_l2 ) > paging_update_paging_modes(v); > > -regs->eip = get_vvmcs(v, HOST_RIP); > -regs->esp = get_vvmcs(v, HOST_RSP); > +regs->rip = get_vvmcs(v, H

[Xen-devel] [PATCH] x86/VMX: use unambiguous register names

2017-01-03 Thread Jan Beulich
This is in preparation of eliminating the mis-naming of 64-bit fields with 32-bit register names (eflags instead of rflags etc). Use the guaranteed 32-bit underscore prefixed names for now where appropriate. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/