diff --git a/migration.c b/migration.c index b5929db7efb30b4137624619c60e7c22cd054227..3db12ef11edb16b4cb3d3210a407fb0e4b28cc22 100644 --- a/migration.c +++ b/migration.c @@ -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 = diff --git a/migration.h b/migration.h index 23d347ae90587d82ffd8bde4c1e12bd45f00cd65..a1f80d0728bd7c09d600bf3c025836a714f04f2b 100644 --- a/migration.h +++ b/migration.h @@ -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