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

[Xen-devel] Re: [PATCH] mem_sharing: use paging_mode_hap



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@xxxxxxx>

Acked-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

(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@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.