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

Re: [Xen-devel] @introduceDomain with xenbus?

  • To: Anthony Liguori <aliguori@xxxxxxxxxx>
  • From: NAHieu <nahieu@xxxxxxxxx>
  • Date: Fri, 7 Oct 2005 01:01:30 +0900
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 06 Oct 2005 15:59:00 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GvY0ZxIgrEHaEcsGUAUPtYZxlC1rjXjo0v8d0p3UjnxXvgGyBChe8MxXmtGr8eJV/YuvDG2E9pcLwGk44Ie1izUyqhyJggTAmnylKJA/NAL0WWOnYmJQLOGuiW3Np9XRvPDRtRWZUTeZVqTzoYMK5FPtjckUAt+ZFdpXWCw8n7U=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 10/7/05, Anthony Liguori <aliguori@xxxxxxxxxx> wrote:
> NAHieu wrote:
> >Hi,
> >
> >I am writing a kernel module in dom0 to watch for @introduceDomain.
> >The callback procedure is prototyped as (registerd with
> >register_xenbus_watch()) :
> >
> >static void new_domain(struct xenbus_watch *watch, const char *node)
> >
> >In this callback, what we can get is node=="@introduceDomain"  when
> >the watch fired. Is that all we have? If I want to know which domain
> >(include domain-name and domid) caused this event, where to look for?
> >
> >
> I have a patch to extend the watches to include arbitrary data
> specifically so we can get the domain id for an
> @{introduce,release}Domain watch.

Great. Otherwise I must enum for the domains myself.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.