[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 22/22] migration: Make state definitions local
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 22/22] migration: Make state definitions local |
Date: |
Wed, 23 Feb 2011 01:44:36 +0100 |
Signed-off-by: Juan Quintela <address@hidden>
---
migration.c | 6 ++++++
migration.h | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/migration.c b/migration.c
index 383ebaf..90fc2a0 100644
--- a/migration.c
+++ b/migration.c
@@ -31,6 +31,12 @@
do { } while (0)
#endif
+#define MIG_STATE_ERROR -1
+#define MIG_STATE_NONE 0
+#define MIG_STATE_CANCELLED 1
+#define MIG_STATE_ACTIVE 2
+#define MIG_STATE_COMPLETED 3
+
static MigrationState current_migration = {
.state = MIG_STATE_NONE,
/* Migration speed throttling */
diff --git a/migration.h b/migration.h
index 9457807..493fbe5 100644
--- a/migration.h
+++ b/migration.h
@@ -18,12 +18,6 @@
#include "qemu-common.h"
#include "notify.h"
-#define MIG_STATE_ERROR -1
-#define MIG_STATE_NONE 0
-#define MIG_STATE_CANCELLED 1
-#define MIG_STATE_ACTIVE 2
-#define MIG_STATE_COMPLETED 3
-
typedef struct MigrationState MigrationState;
struct MigrationState
--
1.7.4
- [Qemu-devel] [PATCH 16/22] migration: Move exported functions to the end of the file, (continued)
- [Qemu-devel] [PATCH 16/22] migration: Move exported functions to the end of the file, Juan Quintela, 2011/02/22
- [Qemu-devel] [PATCH 17/22] migration: use global variable directly, Juan Quintela, 2011/02/22
- [Qemu-devel] [PATCH 18/22] migration: another case of global variable assigned to local one, Juan Quintela, 2011/02/22
- [Qemu-devel] [PATCH 19/22] migration: convert current_migration from pointer to struct, Juan Quintela, 2011/02/22
- [Qemu-devel] [PATCH 21/22] migration: Export a function that tells if the migration has finished correctly, Juan Quintela, 2011/02/22
- [Qemu-devel] [PATCH 22/22] migration: Make state definitions local,
Juan Quintela <=
- Re: [Qemu-devel] [PATCH 22/22] migration: Make state definitions local, Yoshiaki Tamura, 2011/02/23
- [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Juan Quintela, 2011/02/23
- Re: [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Yoshiaki Tamura, 2011/02/23
- [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Juan Quintela, 2011/02/24
- Re: [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Anthony Liguori, 2011/02/24
- Re: [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Yoshiaki Tamura, 2011/02/24
- Re: [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local, Yoshiaki Tamura, 2011/02/24
[Qemu-devel] [PATCH 20/22] migration: Use bandwidth_limit directly, Juan Quintela, 2011/02/22
[Qemu-devel] Re: [PATCH 00/22] Refactor and cleaup migration code, Paolo Bonzini, 2011/02/23
[Qemu-devel] Re: [PATCH 00/22] Refactor and cleaup migration code, Jan Kiszka, 2011/02/23