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