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

2010-03-15 Thread Daniel P. Berrange
On Wed, Mar 10, 2010 at 04:11:30PM +0100, Daniel Veillard wrote: > 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

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

2010-03-10 Thread Daniel Veillard
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 l

[libvirt] How to differentiate creation from migration?

2010-03-10 Thread Richard Maciel
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