[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] [Qemu-devel] How to stop `qemu-system-x86_64 ...` ins
From: |
Peter Xu |
Subject: |
Re: [Qemu-discuss] [Qemu-devel] How to stop `qemu-system-x86_64 ...` instead of `kill -9`? |
Date: |
Wed, 12 Jul 2017 17:37:15 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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