migration: Make state definitions local
Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
7073693bfb
commit
7dc688ed71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue