[PATCH 1/2] qemu: driver: Reformat helpers for saving VM state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rewrap argument definition of qemuDomainSaveInternal and align argument
in the invocation of the aforementioned function in
qemuDomainManagedSaveHelper.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_driver.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

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;
-- 
2.41.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux