Jan Beulich
2008-Apr-22 13:03 UTC
[Xen-devel] [PATCH] x86/hvm: fix copy-and-paste mistakes
Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2008-04-15/xen/arch/x86/hvm/hvm.c ==================================================================--- 2008-04-15.orig/xen/arch/x86/hvm/hvm.c 2008-04-15 08:48:12.000000000 +0200 +++ 2008-04-15/xen/arch/x86/hvm/hvm.c 2008-04-16 09:41:21.000000000 +0200 @@ -494,14 +494,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; } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel