All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew D. Ball" <aball@linux.vnet.ibm.com>
To: Umar Farooq Minhas <umarfm13@hotmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Regarding Xenstore/Xenbus
Date: Mon, 20 Nov 2006 17:02:45 -0500	[thread overview]
Message-ID: <1164060166.24087.53.camel@localhost> (raw)
In-Reply-To: <BAY104-DAV17878D45C9A7A67682B5ACDEE0@phx.gbl>

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@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2006-11-20 22:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19  8:09 Regarding Xenstore/Xenbus Umar Farooq Minhas
2006-11-20 22:02 ` Andrew D. Ball [this message]
2006-11-21  1:21   ` Umar Farooq Minhas
2006-11-22 15:52     ` Vincent Hanquez
2006-11-23  0:56       ` Umar Farooq Minhas
  -- strict thread matches above, loose matches on Subject: below --
2006-11-23 20:22 Umar Farooq Minhas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1164060166.24087.53.camel@localhost \
    --to=aball@linux.vnet.ibm.com \
    --cc=umarfm13@hotmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.