[PATCH 0/6] qemuDomainSaveImageOpen: Fix startup with corrupted save image

Peter Krempa pkrempa at redhat.com
Wed Apr 22 15:04:53 UTC 2020

This is an alternative to


which actually fixes qemuDomainSaveImageOpen in a way that would make it
more obvious which value needs to be returned and also cleans up the
code some more.

Peter Krempa (6):
  qemu: fix domain start with corrupted save file
  virQEMUSaveData: Register autoclear function and use it in
  qemuDomainSaveImageOpen: Use g_autoptr for 'dom'
  qemuDomainSaveImageOpen: Automatically close 'fd' if unneeded
  qemuDomainSaveImageOpen: Use 'g_new0' instead of VIR_ALLOC(_N)
  qemuDomainSaveImageOpen: Refactor handling of errors

 src/qemu/qemu_driver.c | 82 +++++++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 41 deletions(-)


More information about the libvir-list mailing list