2008-05-24 00:00:43 +02:00
|
|
|
# HG changeset patch
|
|
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
|
|
# Date 1208871634 -3600
|
|
|
|
# Node ID 5355726f01b66565a55ef2201bebd283c1f9a384
|
|
|
|
# Parent 451ae3b8e5c82a9954f33c65bd4ba11337287e8d
|
|
|
|
x86/hvm: fix copy-and-paste mistakes
|
|
|
|
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
2008-04-26 11:41:49 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|