]> Git Repo - qemu.git/blobdiff - migration.h
Add migration_end function
[qemu.git] / migration.h
index 2e9ca2edf256a04ba19f36e41d3474e6ca59ec17..35207bd53e6ad5c2f69ae9b32c66d7e9546087e9 100644 (file)
 #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);
This page took 0.027259 seconds and 4 git commands to generate.