« Previous | Next » 

Revision 02c4bdf1

ID02c4bdf1d2ca8c02a9bae16398f260b5c08d08bf

Added by Paolo Bonzini almost 11 years ago

trap signals for "-serial mon:stdio"

With mon:stdio you can exit the VM by switching to the monitor and
sending the "quit" command. It is then useful to pass Ctrl-C to the
VM instead of exiting.

This in turn lets us stop tying the default signal handling behavior
to -nographic, removing gratuitous differences between "-display none"
and "-nographic".

This patch changes behavior for "-display none -serial mon:stdio", as
expected, but not for "-display none -serial stdio".

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Michael Tokarev <>
Reviewed-by: Peter Maydell <>
Message-id:
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences