Re: [Xen-devel] [PATCH v2] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-12 Thread Andrew Cooper
On 12/01/15 08:00, Jan Beulich wrote: > Following the earlier similar change validating CR4 modifications. > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper > --- > v2: consider CR0.PG during restore when checking EFER.LMA > > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @

[Xen-devel] [PATCH v2] x86/HVM: make hvm_efer_valid() honor guest features

2015-01-12 Thread Jan Beulich
Following the earlier similar change validating CR4 modifications. Signed-off-by: Jan Beulich --- v2: consider CR0.PG during restore when checking EFER.LMA --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -1672,20 +1672,53 @@ static int hvm_save_cpu_ctxt(struct doma return 0; }