diff options
author | Kővágó, Zoltán | 2015-07-07 16:42:10 +0200 |
---|---|---|
committer | Michael Tokarev | 2015-09-11 09:21:38 +0200 |
commit | fe646693acc13ac48b98435d14149ab04dc597bc (patch) | |
tree | 6d7c43388644b174ba0b6c96d600018984946732 /tests/qemu-iotests/018.out | |
parent | docs: fix a qga/qapi-schema.json comment (diff) | |
download | qemu-fe646693acc13ac48b98435d14149ab04dc597bc.tar.gz qemu-fe646693acc13ac48b98435d14149ab04dc597bc.tar.xz qemu-fe646693acc13ac48b98435d14149ab04dc597bc.zip |
opts: produce valid command line in qemu_opts_print
This will let us print options in a format that the user would actually
write it on the command line (foo=bar,baz=asd,etc=def), without
prepending a spurious comma at the beginning of the list, or quoting
values unnecessarily. This patch provides the following changes:
* write and id=, if the option has an id
* do not print separator before the first element
* do not quote string arguments
* properly escape commas (,) for QEMU
Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/qemu-iotests/018.out')
-rw-r--r-- | tests/qemu-iotests/018.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/018.out b/tests/qemu-iotests/018.out index 39a6011d29..d66bd63434 100644 --- a/tests/qemu-iotests/018.out +++ b/tests/qemu-iotests/018.out @@ -269,7 +269,7 @@ wrote 65536/65536 bytes at offset 4295032832 No errors were found on the image. Creating test image with backing file -Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 backing_file='TEST_DIR/t.IMGFMT.base' +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 backing_file=TEST_DIR/t.IMGFMT.base Filling test image === IO: pattern 1 |