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

Re: [Xen-devel] Regarding Xenstore/Xenbus

To: Umar Farooq Minhas <umarfm13@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Regarding Xenstore/Xenbus
From: "Andrew D. Ball" <aball@xxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Nov 2006 17:02:45 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Nov 2006 14:03:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY104-DAV17878D45C9A7A67682B5ACDEE0@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
References: <BAY104-DAV17878D45C9A7A67682B5ACDEE0@xxxxxxx>
Reply-to: aball@xxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I think that's right.  Look into using libxenstore inside of the domU --
I think there are functions to do what you want there.

Peace.
Andrew


On Sun, 2006-11-19 at 03:09 -0500, Umar Farooq Minhas wrote:
> Hi everyone,
>  
> I have installed Xen on OpenSUSE Linux 10.1 and am just starting to
> develop with Xen. I want to implement a very straightforward
> application in domUs which simply gets notified whenever a resource
> provisioning change (specifically for cpu/memory allocation) is made
> for that particular domU using for example xm mem-set. From the
> readings that I have done so far it seems that since xenstore is a
> shared database between all the domains which keeps track of domain
> specific values(including values of allocated resources) and that it
> can be accessed through xenbus from domUs so what I need to do is to
> write a program that would access xenstore from withing that domU over
> xenbus. Or more specifically I will have to register a 'watch' in
> xenstore (just as the balloon driver does) to monitor memory values. I
> don't know whether this is true or not. I would greatly appreciate if
> someone could verify this understanding or point me in the right
> direction. Also if this is true some pointers to start developing with
> xenbus/xenstore would be very helpful.
>  
> A prompt response will be appreciated as I am running on a deadline :)
>  
> Thanks.
> -Umar
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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

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