qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-discuss] How to stop `qemu-system-x86_64 ...` ins


From: Fam Zheng
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
User-agent: Mutt/1.8.3 (2017-05-23)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]