22 lines
734 B
Diff
22 lines
734 B
Diff
|
Index: xen-3.2.1-testing/xen/arch/x86/hvm/hvm.c
|
||
|
===================================================================
|
||
|
--- xen-3.2.1-testing.orig/xen/arch/x86/hvm/hvm.c
|
||
|
+++ xen-3.2.1-testing/xen/arch/x86/hvm/hvm.c
|
||
|
@@ -358,14 +358,14 @@ static int hvm_load_cpu_ctxt(struct doma
|
||
|
((ctxt.cr0 & (X86_CR0_PE|X86_CR0_PG)) == X86_CR0_PG) )
|
||
|
{
|
||
|
gdprintk(XENLOG_ERR, "HVM restore: bad CR0 0x%"PRIx64"\n",
|
||
|
- ctxt.msr_efer);
|
||
|
+ ctxt.cr0);
|
||
|
return -EINVAL;
|
||
|
}
|
||
|
|
||
|
if ( ctxt.cr4 & HVM_CR4_GUEST_RESERVED_BITS )
|
||
|
{
|
||
|
gdprintk(XENLOG_ERR, "HVM restore: bad CR4 0x%"PRIx64"\n",
|
||
|
- ctxt.msr_efer);
|
||
|
+ ctxt.cr4);
|
||
|
return -EINVAL;
|
||
|
}
|
||
|
|