On Wed, Aug 24, 2011 at 08:23:55AM -0600, Eric Blake wrote:
> On 08/24/2011 08:21 AM, Daniel P. Berrange wrote:
> >>+++ b/src/qemu/qemu_driver.c
> >>@@ -8804,14 +8804,16 @@ static int
> >>qemuDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
> >> QEMU_ASYN
On 08/24/2011 08:21 AM, Daniel P. Berrange wrote:
+++ b/src/qemu/qemu_driver.c
@@ -8804,14 +8804,16 @@ static int
qemuDomainRevertToSnapshot(virDomainSnapshotPtr snapshot,
QEMU_ASYNC_JOB_NONE);
if (rc< 0)
goto endjob;
+
On Mon, Aug 15, 2011 at 05:33:13PM -0600, Eric Blake wrote:
> When reverting a running domain to a paused snapshot, the event
> that fires should mention that the domain is suspended.
>
> * include/libvirt/libvirt.h.in
> (VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOT): New sub-event.
> * src/qemu/qemu_
When reverting a running domain to a paused snapshot, the event
that fires should mention that the domain is suspended.
* include/libvirt/libvirt.h.in
(VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOT): New sub-event.
* src/qemu/qemu_driver.c (qemuDomainRevertToSnapshot): Use it.
---
include/libvirt/libv