From 6607ae235bbc8c8c23159c21f545e7622489a236 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Tue, 19 Jun 2012 18:43:09 +0300 Subject: Add MigrationParams structure Signed-off-by: Isaku Yamahata --- migration.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'migration.h') 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); -- cgit v1.2.1