[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86/hvm: fix copy-and-paste mistakes



Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.