From: Peter Krempa Date: Tue, 16 May 2023 08:18:18 +0000 (+0200) Subject: qemu: driver: Reformat helpers for saving VM state X-Git-Tag: v9.6.0-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49aca0a845774cc46f6b8c44d40f88c7d471b2bf;p=thirdparty%2Flibvirt.git qemu: driver: Reformat helpers for saving VM state Rewrap argument definition of qemuDomainSaveInternal and align argument in the invocation of the aforementioned function in qemuDomainManagedSaveHelper. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index f20544590d..497923ffee 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -2620,9 +2620,12 @@ qemuDomainGetControlInfo(virDomainPtr dom, */ static int qemuDomainSaveInternal(virQEMUDriver *driver, - virDomainObj *vm, const char *path, - int compressed, virCommand *compressor, - const char *xmlin, unsigned int flags) + virDomainObj *vm, + const char *path, + int compressed, + virCommand *compressor, + const char *xmlin, + unsigned int flags) { g_autofree char *xml = NULL; bool was_running = false; @@ -2785,7 +2788,7 @@ qemuDomainManagedSaveHelper(virQEMUDriver *driver, VIR_INFO("Saving state of domain '%s' to '%s'", vm->def->name, path); if (qemuDomainSaveInternal(driver, vm, path, compressed, - compressor, dxml, flags) < 0) + compressor, dxml, flags) < 0) return -1; vm->hasManagedSave = true;