summaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2012-06-19 18:43:09 +0300
committerJuan Quintela <quintela@redhat.com>2012-06-29 13:18:21 +0200
commit6607ae235bbc8c8c23159c21f545e7622489a236 (patch)
tree1139888b50b29d219e0c7418d62aaa3dfb60227d /migration.h
parent0ff1f9f585712684dc46cb6cb6a46a8cc160b2ae (diff)
downloadqemu-6607ae235bbc8c8c23159c21f545e7622489a236.zip
Add MigrationParams structure
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/migration.h b/migration.h
index 2e9ca2edf2..35207bd53e 100644
--- a/migration.h
+++ b/migration.h
@@ -19,6 +19,11 @@
#include "notify.h"
#include "error.h"
+struct MigrationParams {
+ bool blk;
+ bool shared;
+};
+
typedef struct MigrationState MigrationState;
struct MigrationState
@@ -31,8 +36,7 @@ struct MigrationState
int (*close)(MigrationState *s);
int (*write)(MigrationState *s, const void *buff, size_t size);
void *opaque;
- int blk;
- int shared;
+ MigrationParams params;
};
void process_incoming_migration(QEMUFile *f);