提交 7dc688ed 编写于 作者: J Juan Quintela

migration: Make state definitions local

Signed-off-by: NJuan Quintela <quintela@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册