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

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



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192086926 -3600
# Node ID 38adb57319a796e85d33063a9a13367f1c763941
# Parent  0b0d97f2e51d1abcd38b1549c726839d96891df7
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-unstable changeset:   16087:960a05895a4ac0e9b2e93281b8de57dca568f08a
xen-unstable date:        Thu Oct 11 08:14:11 2007 +0100
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0b0d97f2e51d -r 38adb57319a7 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed Oct 10 11:30:05 2007 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Thu Oct 11 08:15:26 2007 +0100
@@ -350,7 +350,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®.