From: Peter Xu <peterx@redhat.com>
To: Sam <batmanustc@gmail.com>
Cc: qemu-discuss@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to stop `qemu-system-x86_64 ...` instead of `kill -9`?
Date: Wed, 12 Jul 2017 17:37:15 +0800 [thread overview]
Message-ID: <20170712093715.GJ29326@pxdev.xzpeter.org> (raw)
In-Reply-To: <CAOE=1Z3ve+zQJbjqqfNA1iB_mNgFkoTTXRxyBikSiJ5_AZwpiA@mail.gmail.com>
On Wed, Jul 12, 2017 at 05:24:40PM +0800, 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.
>
> How could I stop `qemu-system-x86_64` instead of `kill -9`? Use `virsh`
> command or something?
"virsh destroy $name"? Or "quit" in qemu QMP/HMP?
(I'd say I use kill a lot, especially when I'm using -nographic)
--
Peter Xu
next prev parent reply other threads:[~2017-07-12 9:37 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 ` Peter Xu [this message]
2017-07-12 10:31 ` Fam Zheng
2017-07-12 11:34 ` [Qemu-devel] " 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=20170712093715.GJ29326@pxdev.xzpeter.org \
--to=peterx@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.