Commit 7dc688ed authored by Juan Quintela's avatar Juan Quintela

migration: Make state definitions local

Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
parent 7073693b
......@@ -31,6 +31,14 @@
do { } while (0)
#endif
enum {
MIG_STATE_ERROR,
MIG_STATE_SETUP,
MIG_STATE_CANCELLED,
MIG_STATE_ACTIVE,
MIG_STATE_COMPLETED,
};
#define MAX_THROTTLE (32 << 20) /* Migration speed throttling */
static NotifierList migration_state_notifiers =
......
......@@ -18,14 +18,6 @@
#include "qemu-common.h"
#include "notify.h"
enum {
MIG_STATE_ERROR,
MIG_STATE_SETUP,
MIG_STATE_CANCELLED,
MIG_STATE_ACTIVE,
MIG_STATE_COMPLETED,
};
typedef struct MigrationState MigrationState;
struct MigrationState
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment