@introduceDomain with xenbus?
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?
Many Thanks.
Hieu
Quoted 6 lines · NAHieu
Hi,
I am writing a kernel module in dom0 to watch for @introduceDomain. The callback procedure is prototyped as (registerd with
register_xenbus_watch()) :
Quoted 7 lines
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
Quoted 10 lines
Many Thanks.
Hieu_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines · Anthony Liguori
Quoted 8 lines · NAHieu
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)
Quoted 9 lines
Quoted 5 lines
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.
Thanks.
Hieu