All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system return value when terminating due to a signal
@ 2015-03-10  4:03 Michael Tokarev
  0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2015-03-10  4:03 UTC (permalink / raw)
  To: qemu-devel

When qemu is terminated by a signal, such as SIGINT (Ctrl+C),
it exits with a zero, successful status.  Is it intentional?

Sure, from the qemu perspective, pulling the plug from the
guest machine is a success.  But maybe it's better to indicate
that the exit was due to interrupt, not because of `exit'
command which is a much better version of pulling the plug?

If yes, what exit code should it return?

Thanks,

/mjt

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-10  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10  4:03 [Qemu-devel] qemu-system return value when terminating due to a signal Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.