RE: [libvirt] RFC: Add a 'reason' argument for domain events ?

2008-11-14 Thread Ben Guthro
To revisit the DEFINED, UNDEFINED topic - I have been giving this some thought, and it seems like it is redundant information to me. Doesn't the existence of a config file define the difference between a transient and a persistent domain? Therefore this could be tracked solely with the enum

Re: [libvirt] RFC: Add a 'reason' argument for domain events ?

2008-11-14 Thread Daniel Veillard
On Fri, Nov 14, 2008 at 11:18:48AM +, Daniel P. Berrange wrote: [...] One option is to add alot more events VIR_DOMAIN_MIGRATED_IN (migrated to another node) VIR_DOMAIN_MIGRATED_OUT (migrated from another node) VIR_DOMAIN_SHUTDOWN (graceful shutdown by host admin)

Re: [libvirt] RFC: Add a 'reason' argument for domain events ?

2008-11-14 Thread Daniel P. Berrange
On Fri, Nov 14, 2008 at 07:28:09AM -0500, Ben Guthro wrote: To revisit the DEFINED, UNDEFINED topic - I have been giving this some thought, and it seems like it is redundant information to me. Doesn't the existence of a config file define the difference between a transient and a