• E
    qemu: detect truncated file as invalid save image · d99fe011
    Eric Blake 提交于
    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.
    d99fe011
qemu_driver.c 358.6 KB