WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH] mem_sharing: use paging_mode_hap
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 18 May 2010 13:10:15 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 May 2010 05:11:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201005111420.22481.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201005111420.22481.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>