qemu/include/migration
Markus Armbruster 3ddba9a9e9 migration: Replace migration's JSON writer by the general one
Commit 8118f0950f "migration: Append JSON description of migration
stream" needs a JSON writer.  The existing qobject_to_json() wasn't a
good fit, because it requires building a QObject to convert.  Instead,
migration got its very own JSON writer, in commit 190c882ce2 "QJSON:
Add JSON writer".  It tacitly limits numbers to int64_t, and strings
contents to characters that don't need escaping, unlike
qobject_to_json().

The previous commit factored the JSON writer out of qobject_to_json().
Replace migration's JSON writer by it.

Cc: Juan Quintela <quintela@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-17-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-12-19 10:39:16 +01:00
..
blocker.h migration: Create migration/blocker.h 2017-05-17 12:04:59 +02:00
colo.h migration/colo: Use ram_block_discard_disable() 2020-07-02 05:54:59 -04:00
cpu.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
failover.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
global_state.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
misc.h migration, vl: start migration via qmp_migrate_incoming 2020-12-10 12:15:14 -05:00
qemu-file-types.h qemu-file: move qemu_{get,put}_counted_string() declarations 2019-08-14 17:33:14 +01:00
register.h migration: Change SaveStateEntry.instance_id into uint32_t 2020-01-20 09:10:23 +01:00
snapshot.h migration: Create include for migration snapshots 2017-06-01 18:49:23 +02:00
vmstate.h migration: Replace migration's JSON writer by the general one 2020-12-19 10:39:16 +01:00