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] Questions about how to propagate a guest domain flag

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Questions about how to propagate a guest domain flag
From: Dave McCracken <dcm@xxxxxxxx>
Date: Wed, 29 Apr 2009 11:03:09 -0500
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Apr 2009 09:03:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.11.2 (Linux/2.6.28; KDE/4.2.2; x86_64; ; )
Now that I have guest domain creation/restore working with superpages, I need 
to actually add a flag in the domain config file to make it conditional.  I 
see where I can get it into the Python info object.  Now what's the best thing 
to do with it?

I can propagate it down to where the C library calls populate_physmap via 
function arguments.  Is there a better way for the low level C library to 
query up to the Python object?

I would really like to make this flag visible to the Linux kernel.  My method 
would be to somehow set it in the hypervisor where the kernel can query it.  
Where is a good place to put this flag in the hypervisor?  Is there a better 
way for the kernel to get it?

Thanks,
Dave McCracken
Oracle Corp.


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Questions about how to propagate a guest domain flag, Dave McCracken <=