[libvirt] [PATCH] qemu: detect truncated file as invalid save image
eblake at redhat.com
Fri Dec 16 15:29:41 UTC 2011
On 12/15/2011 08:37 PM, Osier Yang wrote:
> On 2011年12月16日 08:42, Eric Blake wrote:
>> If managed save fails at the right point in time, then the save
>> image can end up with 0 bytes in length (no valid header), and
>> our attempts in commit 55d88def to detect and skip invalid save
>> files missed this case.
>> * src/qemu/qemu_driver.c (qemuDomainSaveImageOpen): Also unlink
>> empty file as corrupt. Reported by Dennis Householder.
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 620 bytes
Desc: OpenPGP digital signature
More information about the libvir-list