Re: [libvirt] [PATCH] libxl: don't set hasManagedSave when performing save

2018-05-15 Thread Daniel P . Berrangé
On Mon, May 14, 2018 at 04:44:15PM -0600, Jim Fehlig wrote: > libxlDoDomainSave() is used in both the save and managedsave code > paths but was unconditionally setting hasManagedSave to true on > success. As a result, undefine would fail after a non-managed > save/restore operation. E.g. > >

[libvirt] [PATCH] libxl: don't set hasManagedSave when performing save

2018-05-14 Thread Jim Fehlig
libxlDoDomainSave() is used in both the save and managedsave code paths but was unconditionally setting hasManagedSave to true on success. As a result, undefine would fail after a non-managed save/restore operation. E.g. virsh define; virsh start virsh save; virsh restore virsh shutdown virsh