migration: Make state definitions local

Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
Juan Quintela 2011-02-23 00:48:46 +01:00
parent 7073693bfb
commit 7dc688ed71
2 changed files with 8 additions and 8 deletions

View file

@ -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 =

View file

@ -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