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

[Xen-changelog] [xen-unstable] mem_sharing: use paging_mode_hap



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274185884 -3600
# Node ID 4244ccdb690ee7c5662b7eceef43ae4a2ceb0d84
# Parent  6337db5274796706d9e91fcbd3544786b2785c39
mem_sharing: use paging_mode_hap

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Acked-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
 xen/include/asm-x86/mem_sharing.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6337db527479 -r 4244ccdb690e xen/include/asm-x86/mem_sharing.h
--- a/xen/include/asm-x86/mem_sharing.h Tue May 18 13:30:45 2010 +0100
+++ b/xen/include/asm-x86/mem_sharing.h Tue May 18 13:31:24 2010 +0100
@@ -23,7 +23,7 @@
 #define __MEM_SHARING_H__
 
 #define sharing_supported(_d) \
-    (is_hvm_domain(_d) && (_d)->arch.hvm_domain.hap_enabled) 
+    (is_hvm_domain(_d) && paging_mode_hap(_d)) 
 
 typedef uint64_t shr_handle_t; 
 

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