qemu/include/migration
Amit Shah abfd9ce341 migration: dump vmstate info as a json file for static analysis
This commit adds a new command, '-dump-vmstate', that takes a filename
as an argument.  When executed, QEMU will dump the vmstate information
for the machine type it's invoked with to the file, and quit.

The JSON-format output can then be used to compare the vmstate info for
different QEMU versions, specifically to test whether live migration
would break due to changes in the vmstate data.

A Python script that compares the output of such JSON dumps is included
in the following commit.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2014-06-23 19:14:50 +02:00
..
block.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
migration.h migration: expose xbzrle cache miss rate 2014-05-05 22:15:03 +02:00
page_cache.h Fix two XBZRLE corruption issues 2014-02-25 14:30:28 +01:00
qemu-file.h Make qemu_peek_buffer loop until it gets it's data 2014-05-05 22:15:03 +02:00
vmstate.h migration: dump vmstate info as a json file for static analysis 2014-06-23 19:14:50 +02:00