]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qtest.c
x86: Fix x86_64 'g' packet response to gdb from 32-bit mode.
[mirror_qemu.git] / qtest.c
diff --git a/qtest.c b/qtest.c
index 1a6c8b15aae24297a50c2ac9e382c702b7a9a470..46b99aed5291c827bde5ea3857d7d3cfb7cd55e4 100644 (file)
--- a/qtest.c
+++ b/qtest.c
@@ -688,7 +688,7 @@ void qtest_init(const char *qtest_chrdev, const char *qtest_log, Error **errp)
 
     qemu_chr_fe_init(&qtest_chr, chr, errp);
     qemu_chr_fe_set_handlers(&qtest_chr, qtest_can_read, qtest_read,
-                             qtest_event, &qtest_chr, NULL);
+                             qtest_event, &qtest_chr, NULL, true);
     qemu_chr_fe_set_echo(&qtest_chr, true);
 
     inbuf = g_string_new("");