diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2012-06-19 18:43:09 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-06-29 13:18:21 +0200 |
commit | 6607ae235bbc8c8c23159c21f545e7622489a236 (patch) | |
tree | 1139888b50b29d219e0c7418d62aaa3dfb60227d /migration.h | |
parent | 0ff1f9f585712684dc46cb6cb6a46a8cc160b2ae (diff) | |
download | qemu-6607ae235bbc8c8c23159c21f545e7622489a236.zip qemu-6607ae235bbc8c8c23159c21f545e7622489a236.tar.gz qemu-6607ae235bbc8c8c23159c21f545e7622489a236.tar.bz2 |
Add MigrationParams structure
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'migration.h')
-rw-r--r-- | migration.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/migration.h b/migration.h index 2e9ca2e..35207bd 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); |