diff options
| author | Markus Armbruster | 2018-08-06 08:53:39 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-08-16 08:42:06 +0200 |
| commit | b7281c6989c09a98670ea11c588b17737c846154 (patch) | |
| tree | 20c375aa4d3af8df2b8f3b08934e0143c2fe7078 /tests/qapi-schema/args-array-empty.json | |
| parent | migration-test: Make wait_command() cope with '%' (diff) | |
| download | qemu-b7281c6989c09a98670ea11c588b17737c846154.tar.gz qemu-b7281c6989c09a98670ea11c588b17737c846154.tar.xz qemu-b7281c6989c09a98670ea11c588b17737c846154.zip | |
migration-test: Clean up string interpolation into QMP, part 1
Leaving interpolation into JSON to qmp() is more robust than building
QMP input manually, as explained in the recent commit "tests: Clean up
string interpolation into QMP input (simple cases)".
migrate_recover() builds QMP input manually because wait_command()
can't interpolate. Well, it can since the previous commit. Simplify
accordingly.
Bonus: gets rid of a non-literal format string. A step towards
compile-time format string checking without triggering
-Wformat-nonliteral.
Cc: Juan Quintela <quintela@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180806065344.7103-19-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/args-array-empty.json')
0 files changed, 0 insertions, 0 deletions
