aboutsummaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-12-05 14:06:56 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-15 10:39:52 -0300
commit539de1246d355d3b8aa33fb7cde732352d8827c7 (patch)
tree63947554dfaa8d5998e484448f9312d73852d531 /migration.h
parent79020cfcbb78a85768174bb93ee3b7cfc6ffa353 (diff)
downloadqemu-539de1246d355d3b8aa33fb7cde732352d8827c7.zip
qemu-539de1246d355d3b8aa33fb7cde732352d8827c7.tar.gz
qemu-539de1246d355d3b8aa33fb7cde732352d8827c7.tar.bz2
Purge migration of (almost) everything to do with monitors
The Monitor object is passed back and forth within the migration/savevm code so that it can print errors and progress to the user. However, that approach assumes a HMP monitor, being completely invalid in QMP. This commit drops almost every single usage of the Monitor object, all monitor_printf() calls have been converted into DPRINTF() ones. There are a few remaining Monitor objects, those are going to be dropped by the next commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.h b/migration.h
index 372b066..0e44197 100644
--- a/migration.h
+++ b/migration.h
@@ -78,7 +78,7 @@ uint64_t ram_bytes_remaining(void);
uint64_t ram_bytes_transferred(void);
uint64_t ram_bytes_total(void);
-int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
+int ram_save_live(QEMUFile *f, int stage, void *opaque);
int ram_load(QEMUFile *f, void *opaque, int version_id);
/**