migration: Allow to suppress vmdesc submission

We now always send a JSON blob describing the migration file format as part
of the migration stream. However, some tools built around QEMU have proven
to stumble over this.

This patch gives the user the chance to disable said self-describing part of
the migration stream. To disable vmdesc submission, just add

  -machine suppress-vmdesc=on

to your QEMU command line.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
Alexander Graf 2015-02-23 13:56:42 +01:00 committed by Juan Quintela
parent 1925cebc4b
commit 9850c6047b
4 changed files with 34 additions and 4 deletions

View file

@ -143,6 +143,7 @@ struct MachineState {
bool usb;
char *firmware;
bool iommu;
bool suppress_vmdesc;
ram_addr_t ram_size;
ram_addr_t maxram_size;