Re: [libvirt] [PATCH] qemu: Reset hasManagedSave after removing a corrupted image

2017-10-24 Thread Peter Krempa
On Tue, Oct 24, 2017 at 10:39:53 +0200, Jiri Denemark wrote: > When starting a domain with managed save image, we try to restore it > first. If the image is corrupted, we silently unlink it and just > normally start the domain. At this point the domain has no managed save > image, yet we did not

[libvirt] [PATCH] qemu: Reset hasManagedSave after removing a corrupted image

2017-10-24 Thread Jiri Denemark
When starting a domain with managed save image, we try to restore it first. If the image is corrupted, we silently unlink it and just normally start the domain. At this point the domain has no managed save image, yet we did not reset the hasManagedSave flag.