3

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.

Daniel
  • 3,047
  • 5
  • 22
  • 27

2 Answers2

3

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.

voretaq7
  • 79,879
  • 17
  • 130
  • 214
0

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

dyasny
  • 18,802
  • 6
  • 49
  • 64