[PATCH RFC 09/51] qemu: blockjob: Rename qemuBlockJobEventProcess to qemuBlockJobEventProcessLegacy

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

 



This will handle blockjob finalizing for the old approach so rename it
accordingly.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_blockjob.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c
index b1a30b1edb..5934d58480 100644
--- a/src/qemu/qemu_blockjob.c
+++ b/src/qemu/qemu_blockjob.c
@@ -81,7 +81,7 @@ qemuBlockJobEmitEvents(virQEMUDriverPtr driver,


 /**
- * qemuBlockJobEventProcess:
+ * qemuBlockJobEventProcessLegacy:
  * @driver: qemu driver
  * @vm: domain
  * @disk: domain disk
@@ -93,12 +93,12 @@ qemuBlockJobEmitEvents(virQEMUDriverPtr driver,
  * restart, also update the domain's status XML.
  */
 static void
-qemuBlockJobEventProcess(virQEMUDriverPtr driver,
-                         virDomainObjPtr vm,
-                         virDomainDiskDefPtr disk,
-                         int asyncJob,
-                         int type,
-                         int status)
+qemuBlockJobEventProcessLegacy(virQEMUDriverPtr driver,
+                               virDomainObjPtr vm,
+                               virDomainDiskDefPtr disk,
+                               int asyncJob,
+                               int type,
+                               int status)
 {
     virQEMUDriverConfigPtr cfg = virQEMUDriverGetConfig(driver);
     virDomainDiskDefPtr persistDisk = NULL;
@@ -232,8 +232,8 @@ qemuBlockJobUpdateDisk(virDomainObjPtr vm,
         *error = NULL;

     if (status != -1) {
-        qemuBlockJobEventProcess(priv->driver, vm, disk, asyncJob,
-                                 job->type, status);
+        qemuBlockJobEventProcessLegacy(priv->driver, vm, disk, asyncJob,
+                                       job->type, status);
         job->status = -1;
         if (error)
             VIR_STEAL_PTR(*error, job->errmsg);
-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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