summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaolo Bonzini2021-02-25 12:05:22 +0100
committerPaolo Bonzini2021-02-25 15:41:53 +0100
commit9d902d51154bcbd305ae7138ef31e2843bb3427e (patch)
treef930ff518cb41fd76f7c46e45e23928cace3400d /tests
parentvl: deprecate -writeconfig (diff)
downloadqemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.tar.gz
qemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.tar.xz
qemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.zip
chardev: do not use short form boolean options in non-QemuOpts character device descriptions
Options such as "-gdb" or "-serial" accept a part-QemuOpts part-parsed-by-hand character device description. Do not use short form boolean options in the QemuOpts part. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/guest-debug/run-test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/guest-debug/run-test.py b/tests/guest-debug/run-test.py
index 8b91ff95af..2e58795a10 100755
--- a/tests/guest-debug/run-test.py
+++ b/tests/guest-debug/run-test.py
@@ -64,10 +64,10 @@ if __name__ == '__main__':
# Launch QEMU with binary
if "system" in args.qemu:
- cmd = "%s %s %s -gdb unix:path=%s,server" % (args.qemu,
- args.qargs,
- args.binary,
- socket_name)
+ cmd = "%s %s %s -gdb unix:path=%s,server=on" % (args.qemu,
+ args.qargs,
+ args.binary,
+ socket_name)
else:
cmd = "%s %s -g %s %s" % (args.qemu, args.qargs, socket_name,
args.binary)