summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorBin Meng2022-10-28 06:57:29 +0200
committerThomas Huth2022-10-28 11:17:12 +0200
commite4439e52806b797f38adf7a96b5ed74295f806b0 (patch)
tree5d888ca69e8af6a603229592a8d5a53675ab54f3 /scripts/qapi-gen.py
parenttests/qtest: Support libqtest to build and run on Windows (diff)
downloadqemu-e4439e52806b797f38adf7a96b5ed74295f806b0.tar.gz
qemu-e4439e52806b797f38adf7a96b5ed74295f806b0.tar.xz
qemu-e4439e52806b797f38adf7a96b5ed74295f806b0.zip
tests/qtest: device-plug-test: Reverse the usage of double/single quotes
The usage of double/single quotes in test_q35_pci_unplug_json_request() should be reversed to work on both win32 and non-win32 platforms: - The value of -device parameter needs to be surrounded by "" as Windows does not drop '' when passing it to QEMU which causes QEMU command line option parser failure. - The JSON key/value pairs need to be surrounded by '' to make the JSON parser happy on Windows. Fixes: a12f1a7e56b7 ("tests/x86: Add subtest with 'q35' machine type to device-plug-test") Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20221028045736.679903-5-bin.meng@windriver.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions