summaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
authorKusanagi Kouichi <slash@ac.auone-net.jp>2009-10-16 22:31:38 +0900
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:42 -0500
commitb17aab40707d8c99e938ba4daa9ed88e06e00d00 (patch)
treeeeb6011f5c58dd02055b5def8fcbe5575a636b22 /qemu-config.c
parentd29f4343727ee1b49ee45ef69de73ea95a3d33b7 (diff)
downloadqemu-b17aab40707d8c99e938ba4daa9ed88e06e00d00.tar.gz
qemu-b17aab40707d8c99e938ba4daa9ed88e06e00d00.tar.bz2
qemu-b17aab40707d8c99e938ba4daa9ed88e06e00d00.zip
Add chardev option to disable signal.
If I am using vga and serial which is stdio and hit C-c on serial console, qemu terminates. That is annoying for me. So make it configurable whether signal is generated when C-c is hit. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index cae92f78cf..fc73beaef6 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -134,6 +134,9 @@ QemuOptsList qemu_chardev_opts = {
},{
.name = "mux",
.type = QEMU_OPT_BOOL,
+ },{
+ .name = "signal",
+ .type = QEMU_OPT_BOOL,
},
{ /* end if list */ }
},