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

[Xen-changelog] [xen-unstable] hvm: Fix migration of 64-bit guests by permitting EFER_LMA to be set



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192086851 -3600
# Node ID 960a05895a4ac0e9b2e93281b8de57dca568f08a
# Parent  e7ae1932156065b7e027ff4e7a31cdb6ff842b99
hvm: Fix migration of 64-bit guests by permitting EFER_LMA to be set
in restored VCPU context.
Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx>
Signed-off-by: Robert Phillips <rphillips@xxxxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e7ae19321560 -r 960a05895a4a xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed Oct 10 13:17:42 2007 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Thu Oct 11 08:14:11 2007 +0100
@@ -358,7 +358,7 @@ static int hvm_load_cpu_ctxt(struct doma
         return -EINVAL;
     }
 
-    if ( (ctxt.msr_efer & ~(EFER_LME | EFER_NX | EFER_SCE)) ||
+    if ( (ctxt.msr_efer & ~(EFER_LME | EFER_LMA | EFER_NX | EFER_SCE)) ||
          ((sizeof(long) != 8) && (ctxt.msr_efer & EFER_LME)) ||
          (!cpu_has_nx && (ctxt.msr_efer & EFER_NX)) ||
          (!cpu_has_syscall && (ctxt.msr_efer & EFER_SCE)) ||

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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