mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
qemu: fix regression that hangs on save failure
Regression introduced in commit 6034ddd55. * src/qemu/qemu_driver.c (qemudDomainSaveFlag): Jump to correct label.
This commit is contained in:
parent
16a4243c19
commit
83b77fa589
@ -1990,10 +1990,10 @@ static int qemudDomainSaveFlag(struct qemud_driver *driver, virDomainPtr dom,
|
||||
if (qemuMigrationToFile(driver, vm, qemuCaps, fd, offset, path,
|
||||
qemuCompressProgramName(compressed),
|
||||
is_reg, bypassSecurityDriver) < 0)
|
||||
goto cleanup;
|
||||
goto endjob;
|
||||
if (VIR_CLOSE(fd) < 0) {
|
||||
virReportSystemError(errno, _("unable to close %s"), path);
|
||||
goto cleanup;
|
||||
goto endjob;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user