mem_sharing: use paging_mode_hap
PATCH 1/1 mem_sharing: use paging_mode_hap
Hi!
Attached patch uses paging_mode_hap.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---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/include/asm-x86/mem_sharing.h +1 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines · Christoph Egger
Hi!
Attached patch uses
paging_mode_hap.Signed-off-by Christoph Egger <[email protected]>
Acked-by Tim Deegan <[email protected]>
(though in fact AFAICS this macro is never used.)
Content-Description: xen_pagingmode.diff
Quoted 12 lines
diff -r
7ee8bb40200axen/include/asm-x86/mem_sharing.hxen/include/asm-x86/mem_sharing.h +1
-1@@ -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 ;
Signature · 3 lines
Tim Deegan <[email protected]> Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)