Re: [libvirt] [PATCH v4 2/2] qemu: emit 'defined' event after reverted to snapshot without state changes

2016-02-25 Thread Cole Robinson
On 02/18/2016 05:06 AM, Dmitry Andreev wrote: > When domain is reverted to a snapshot it's configuration and state > may be changed. If the domain state was changed libvirt emits one > or more _FROM_SNAPSHOT events. > > In case when domain and target states both are offline there will be > no

[libvirt] [PATCH v4 2/2] qemu: emit 'defined' event after reverted to snapshot without state changes

2016-02-18 Thread Dmitry Andreev
When domain is reverted to a snapshot it's configuration and state may be changed. If the domain state was changed libvirt emits one or more _FROM_SNAPSHOT events. In case when domain and target states both are offline there will be no state changes and no events. Lack of the event become a