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] @introduceDomain with xenbus?

To: NAHieu <nahieu@xxxxxxxxx>
Subject: Re: [Xen-devel] @introduceDomain with xenbus?
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Thu, 06 Oct 2005 10:11:37 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 06 Oct 2005 15:09:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5d7aca950510060634x3a71bed9mc75799201a0ad554@xxxxxxxxxxxxxx>
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>
References: <5d7aca950510060634x3a71bed9mc75799201a0ad554@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)
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.

Just waiting for some feedback on it...

Regards,

Anthony Liguori

Many Thanks.
Hieu

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