All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] qemu-system return value when terminating due to a signal
Date: Tue, 10 Mar 2015 07:03:04 +0300	[thread overview]
Message-ID: <54FE6CF8.5080201@msgid.tls.msk.ru> (raw)

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

                 reply	other threads:[~2015-03-10  4:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54FE6CF8.5080201@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.