Skip to contentSkip to conversation

x86/hvm: fix copy-and-paste mistakes

PATCH New Jan Beulich 1 participant 1 message Apr 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/hvm: fix copy-and-paste mistakes

xen/arch/x86/hvm/hvm.c +2 -2
Index: 2008-04-15/xen/arch/x86/hvm/hvm.c
===================================================================
@@ -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;
     }