Re: [libvirt] [PATCH 1/2] qemu: snapshot: Don't update current snapshot until we're done

2019-09-30 Thread Ján Tomko
On Mon, Sep 30, 2019 at 04:42:45PM +0200, Peter Krempa wrote: Since commit f105627992e we store whether a snapshot is current globally rather than locally in the snapshot object. This means that we don't have to unset the current snapshot prior to taking/reverting the snapshot and we can do it

[libvirt] [PATCH 1/2] qemu: snapshot: Don't update current snapshot until we're done

2019-09-30 Thread Peter Krempa
Since commit f105627992e we store whether a snapshot is current globally rather than locally in the snapshot object. This means that we don't have to unset the current snapshot prior to taking/reverting the snapshot and we can do it only when everything is done tsuccessfully. Signed-off-by: