qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PULL 11/13] hmp: Rename 'MigrationStatus' to 'HMPMigration


From: Juan Quintela
Subject: [Qemu-devel] [PULL 11/13] hmp: Rename 'MigrationStatus' to 'HMPMigrationStatus'
Date: Tue, 17 Mar 2015 16:30:33 +0100

From: zhanghailiang <address@hidden>

We will use the typename 'MigrationStatus' for publicly exported typename,
So here we rename the internal-only 'MigrationStatus' to
'HMPMigrationStatus'.

Signed-off-by: zhanghailiang <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
 hmp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hmp.c b/hmp.c
index 84fb585..8afce2d 100644
--- a/hmp.c
+++ b/hmp.c
@@ -1341,16 +1341,16 @@ void hmp_block_job_complete(Monitor *mon, const QDict 
*qdict)
     hmp_handle_error(mon, &error);
 }

-typedef struct MigrationStatus
+typedef struct HMPMigrationStatus
 {
     QEMUTimer *timer;
     Monitor *mon;
     bool is_block_migration;
-} MigrationStatus;
+} HMPMigrationStatus;

 static void hmp_migrate_status_cb(void *opaque)
 {
-    MigrationStatus *status = opaque;
+    HMPMigrationStatus *status = opaque;
     MigrationInfo *info;

     info = qmp_query_migrate(NULL);
@@ -1398,7 +1398,7 @@ void hmp_migrate(Monitor *mon, const QDict *qdict)
     }

     if (!detach) {
-        MigrationStatus *status;
+        HMPMigrationStatus *status;

         if (monitor_suspend(mon) < 0) {
             monitor_printf(mon, "terminal does not allow synchronous "
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]