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

Re: [Xen-devel] event notification



On Sat, Mar 06, 2010 at 07:12:02PM -0800, ravi kerur wrote:
> Hi,
> 
> Is there a mechanism available in Xen such that a kernel module in dom0 can
> register to it and when a VM(domU) is installed or deleted or suspend or
> resumed kernel module in domU can send notification to its counterpart in
> dom0. I have looked into xenbus mechanism used by PV drivers and it won't
> work for us. Inputs appreciated.

You can listen on udev events and see when a vif device has been added.
Also you can add pieces to the dom0 kernel to send uevents when a device
is suspended and do something.

Attached is a simple program to listen to all uevents..

> 
> Thanks
> -RK

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

Attachment: listen.c
Description: Text document

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

 


Rackspace

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