From: Fam Zheng <famz@redhat.com>
To: Sam <batmanustc@gmail.com>
Cc: qemu-discuss@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-discuss] How to stop `qemu-system-x86_64 ...` instead of `kill -9`?
Date: Wed, 12 Jul 2017 18:31:31 +0800 [thread overview]
Message-ID: <20170712103131.GA11040@lemon> (raw)
In-Reply-To: <CAOE=1Z3ve+zQJbjqqfNA1iB_mNgFkoTTXRxyBikSiJ5_AZwpiA@mail.gmail.com>
On Wed, 07/12 17:24, Sam wrote:
> hi all,
>
> I'm running `qemu-system-x86_64 ...` to start a guest vm. Now I want to
> stop and destroy this vm, I found there is no `qemu-stop` related command,
> so I have to `kill -9` this process.
If you have a "monitor", send "quit" command is the right way. The simplest type
of monitor (HMP on your console) is with the option "-monitor stdio".
Even without monitors, SIGKILL is likely overkill. QEMU responds to SIGTERM and
SIGINT more gracefully.
Fam
next prev parent reply other threads:[~2017-07-12 10:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-12 9:24 [Qemu-devel] How to stop `qemu-system-x86_64 ...` instead of `kill -9`? Sam
2017-07-12 9:27 ` [Qemu-devel] [Qemu-discuss] " Vincenzo Romano
2017-07-12 9:37 ` [Qemu-devel] " Peter Xu
2017-07-12 10:31 ` Fam Zheng [this message]
2017-07-12 11:34 ` Philippe Mathieu-Daudé
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=20170712103131.GA11040@lemon \
--to=famz@redhat.com \
--cc=batmanustc@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@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.