Re: [Xen-devel] [PATCH v3] x86/HVM: add padding to struct hvm_hw_cpu

2016-01-19 Thread Roger Pau Monné
El 19/01/16 a les 16.13, Jan Beulich ha escrit: On 18.01.16 at 17:25, wrote: >> --- a/xen/arch/x86/hvm/hvm.c >> +++ b/xen/arch/x86/hvm/hvm.c >> @@ -1990,6 +1990,9 @@ static int hvm_load_cpu_ctxt(struct domain *d, >> hvm_domain_context_t *h) >> if ( hvm_load_entry_zeroextend(CPU, h, &ctx

Re: [Xen-devel] [PATCH v3] x86/HVM: add padding to struct hvm_hw_cpu

2016-01-19 Thread Jan Beulich
>>> On 18.01.16 at 17:25, wrote: > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -1990,6 +1990,9 @@ static int hvm_load_cpu_ctxt(struct domain *d, > hvm_domain_context_t *h) > if ( hvm_load_entry_zeroextend(CPU, h, &ctxt) != 0 ) > return -EINVAL; > > +if ( c

[Xen-devel] [PATCH v3] x86/HVM: add padding to struct hvm_hw_cpu

2016-01-18 Thread Roger Pau Monne
So that the size of the structure is the same on 32 and 64bit. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper --- Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Andrew Cooper --- This should fix the issues seen on OSSTest when using a 32bit toolstack on a 64bit hypervisor to