Re: [libvirt] Event after reverting to snapshot

2015-12-08 Thread Cole Robinson
On 12/08/2015 12:53 PM, Dmitry Andreev wrote: > Hi, > > I'm looking for a way to catch an event about reverting to snapshot. > > As I can see in the code there is no lifecycle event if VM state wasn't > changed. > > The comment in the code of qemuDomainRevertToSnapshot: > > /* We have the

[libvirt] Event after reverting to snapshot

2015-12-08 Thread Dmitry Andreev
Hi, I'm looking for a way to catch an event about reverting to snapshot. As I can see in the code there is no lifecycle event if VM state wasn't changed. The comment in the code of qemuDomainRevertToSnapshot: /* We have the following transitions, which create the following events: