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-users] Fw: Regarding SHM2 modes

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fw: Regarding SHM2 modes
From: jeet <jeet_sat@xxxxxxxxxxx>
Date: Thu, 25 Jan 2007 16:46:35 +0530 (IST)
Delivery-date: Fri, 26 Jan 2007 01:32:37 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=CR+A9h05GZgNdqbRiYhCB4Tm8s6iD6+8Zm9UJ7llPv4iA1lTxznZRjkP6n9l25xxJHU1bpECMNiK4tz7dGPMRZntvRZuRGWKcIzLM0gR5zfrAlYcQqtp1KLRMRKfnxhWJ4Mk17LeaQv6GFd1fdHExlC82Pdo5JTrBsDb6wokaQ8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi All,

I am new to Xen.
I am very confuse with various SHM2 mode defined in
"xen-3.0.4_1-src\xen\include\asm-x86\shadow.h"

#define SHM2_shift 10
/* We're in one of the shadow modes */
#define SHM2_enable    (1U << SHM2_shift)
/* Refcounts based on shadow tables instead of guest tables */
#define SHM2_refcounts (XEN_DOMCTL_SHADOW_ENABLE_REFCOUNT << SHM2_shift)
/* Enable log dirty mode */
#define SHM2_log_dirty (XEN_DOMCTL_SHADOW_ENABLE_LOG_DIRTY << SHM2_shift)
/* Xen does p2m translation, not guest */
#define SHM2_translate (XEN_DOMCTL_SHADOW_ENABLE_TRANSLATE << SHM2_shift)
/* Xen does not steal address space from the domain for its own booking;
 * requires VT or similar mechanisms */
#define SHM2_external  (XEN_DOMCTL_SHADOW_ENABLE_EXTERNAL << SHM2_shift)

Could anybody please explain all the different mode defined here.
What are purposes of these, how these are used in Xen. when it is enable and in which scenarios these are used.

Any input would be helpful

Thanks in Advance.

Regards.
Jeet




Here?s a new way to find what you're looking for - Yahoo! Answers
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Fw: Regarding SHM2 modes, jeet <=