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

[Xen-devel] Fw: regarding SHM2 mode in xen


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: jeet <jeet_sat12@xxxxxxxxxxx>
  • Date: Sat, 27 Jan 2007 12:03:09 +0530 (IST)
  • Delivery-date: Fri, 26 Jan 2007 22:32:56 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Zrwnm4hPL1a2/6TMN7GKXtFtntDeKs+KG5DcnG3Kh8LxrxXZ2pKQVHzQ78b61TWw4uhLaaoZEaSMNn0UlnpWIZuO+baXieB7JUmzp008af9BOiJ7e1I3Dawxvcb/NpDblQpsqRXqLfK8Ikuv15X8YFWLaOo//29U6Ix5i+LyAGo= ;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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



 




        
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/





                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

_______________________________________________
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®.