aboutsummaryrefslogtreecommitdiff
path: root/tests/guest-debug
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-02-25 12:05:22 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-25 15:41:53 +0100
commit9d902d51154bcbd305ae7138ef31e2843bb3427e (patch)
treef930ff518cb41fd76f7c46e45e23928cace3400d /tests/guest-debug
parentb979c93121d4276c124dccbff2848b7aede66cb6 (diff)
downloadqemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.zip
qemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.tar.gz
qemu-9d902d51154bcbd305ae7138ef31e2843bb3427e.tar.bz2
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/guest-debug')
-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 8b91ff9..2e58795 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)