aboutsummaryrefslogtreecommitdiff
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
commit5989020bc11f8ba448d6fb79f4562f882a693d89 (patch)
treeeeb6011f5c58dd02055b5def8fcbe5575a636b22 /qemu-config.c
parent30d335d68d93705eb346387c03bb6aca0f52454a (diff)
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 */ }
},