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

[Xen-changelog] [xen-unstable] [HVM] HAP: mark domains as HAP-enabled, not shadow-enabled.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1184929225 -3600
# Node ID 44e12d5b5178d007ae64abef9599d29edb05e5a3
# Parent  3c28bc13a3f82032c6171825629d9be754075da5
[HVM] HAP: mark domains as HAP-enabled, not shadow-enabled.
Thanks to Wei Huang.
Signed-off-by: TIm Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/hap/hap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3c28bc13a3f8 -r 44e12d5b5178 xen/arch/x86/mm/hap/hap.c
--- a/xen/arch/x86/mm/hap/hap.c Fri Jul 20 11:36:36 2007 +0100
+++ b/xen/arch/x86/mm/hap/hap.c Fri Jul 20 12:00:25 2007 +0100
@@ -478,7 +478,7 @@ int hap_enable(struct domain *d, u32 mod
             goto out;
     }
 
-    d->arch.paging.mode = mode | PG_SH_enable;
+    d->arch.paging.mode = mode | PG_HAP_enable;
 
  out:
     domain_unpause(d);

_______________________________________________
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®.