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

Re: [libvirt] How to differentiate creation from migration?

On Wed, Mar 10, 2010 at 11:40:44AM -0300, Richard Maciel wrote:
> Hi,
> I work on a project that makes use of libvirt (called libvirt-cim)
> and we created an algorithm to detect when a new machine is created.
> However, I need to filter the ones created by the migration
> operation.
> Does libvirt provides a way to distinguish a machine created by
> 'migrate' command from a machine created by the 'define' command
> (virDomainDefineXML API call)?

  I think that if you register for domain lifetime events then
you will get this informations as part of the details, but asynchronously


Also see Dan Berrange post from last week about event extensions.


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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