Can I manage a QEMU guest from the host's CLI? I'm coming from Xen and I liked the xm
command. I'd like to shutdown the guest, attach PCI devices to it and so on. Is there a way?
There's the QEMU monitor, but I'd really like to have a "scriptable" solution.
Qemu's QMP is probably what you're looking for, but I am not aware of any tools that interface with it yet. You would have to write a script (or family of scripts) that opens the socket and sends appropriate messages to QEMU.
any VM management solution out there is based on libvirt nowadays, so
virsh
is the way to go. You don't have to install virt-manager, which drags along a lot of GUI deps