From: jeet Subject: Fw: regarding SHM2 mode in xen Date: Sat, 27 Jan 2007 12:03:09 +0530 (IST) Message-ID: <20070127063309.29691.qmail@web8815.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org =0AHi All,=0A=0AI am new to Xen.=0AI am very confuse with various SHM2 mode= defined in =0A"xen-3.0.4_1-src\xen\include\asm-x86\shadow.h"=0A=0A#define = SHM2_shift 10=0A/* We're in one of the shadow modes */=0A#define SHM2_enabl= e (1U << SHM2_shift)=0A/* Refcounts based on shadow tables instead of gu= est tables */=0A#define SHM2_refcounts=0A (XEN_DOMCTL_SHADOW_ENABLE_REFCOUN= T << SHM2_shift)=0A/* Enable log dirty mode */=0A#define SHM2_log_dirty (XE= N_DOMCTL_SHADOW_ENABLE_LOG_DIRTY << SHM2_shift)=0A/* Xen does p2m translati= on, not guest */=0A#define SHM2_translate=0A (XEN_DOMCTL_SHADOW_ENABLE_TRAN= SLATE << SHM2_shift)=0A/* Xen does not steal address space from the domain = for its own booking;=0A * requires VT or similar mechanisms */=0A#define SH= M2_external (XEN_DOMCTL_SHADOW_ENABLE_EXTERNAL << SHM2_shift)=0A=0ACould a= nybody please explain all the different mode defined here.=0AWhat are purpo= ses of these, how these are used in Xen. when it is enable and in which sce= narios these are used.=0A=0AAny input would be helpful=0A=0AThanks in Advan= ce.=0A=0ARegards.=0AJeet=0A=0A=0A=0A =0A=0A=0A=0A=0A =0A____________= ______________________________________________=0AYahoo! India Answers: Shar= e what you know. Learn something new=0Ahttp://in.answers.yahoo.com/=0A=0A= =0A=0A=0A=0A=09=09=0A______________________________________________________= ____=0AYahoo! India Answers: Share what you know. Learn something new=0Ahtt= p://in.answers.yahoo.com/