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