Christoph Egger
2010-May-11 12:20 UTC
[Xen-devel] [PATCH] mem_sharing: use paging_mode_hap
Hi! Attached patch uses paging_mode_hap. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
At 13:20 +0100 on 11 May (1273584022), Christoph Egger wrote:> > Hi! > > Attached patch uses paging_mode_hap. > > Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Acked-by: Tim Deegan <Tim.Deegan@citrix.com> (though in fact AFAICS this macro is never used.) Content-Description: xen_pagingmode.diff> diff -r 7ee8bb40200a xen/include/asm-x86/mem_sharing.h > --- a/xen/include/asm-x86/mem_sharing.h Thu Apr 15 19:11:16 2010 +0100 > +++ b/xen/include/asm-x86/mem_sharing.h Fri Apr 16 17:11:32 2010 +0200 > @@ -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; >-- Tim Deegan <Tim.Deegan@citrix.com> Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel