summary refs log tree commit diff stats
path: root/hw/qdev-properties.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-03-06 18:32:35 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-03-11 11:23:19 +0000
commit00e94dbc7fd0110b0555d59592b004333adfb4b8 (patch)
tree9bb875252621dadf348856251a2ee2cbf3d872db /hw/qdev-properties.c
parent3f2cbf0d1a1340bed4a63e05b044c46df93f4768 (diff)
downloadfocaccia-qemu-00e94dbc7fd0110b0555d59592b004333adfb4b8.tar.gz
focaccia-qemu-00e94dbc7fd0110b0555d59592b004333adfb4b8.zip
gdbstub: Do not kill target in system emulation mode
Too many VM kittens were killed since 7d03f82f81. Another one just died
under my fat fingers.

When you quit a kgdb session, does the Linux kernel power off? Or when
you terminate gdb attached to a hardware debugger, does your board
vanish in space? No.

So let's stop terminating QEMU when the gdbstub receives a kill commando
in system emulation mode. Real termination can still be achieved via
"monitor quit". We keep the behavior for user mode emulation which is
arguably more like a gdbserver scenario.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions