问题原文
原帖链接 · user54 · CC BY-SA 3.0
I have installed KVM without libvirt/virsh and virtualmanager.
Packages which installed are kvm qemu-kvm bridge-utils libguestfs-tools
How can I pause/suspend VM in this case?
已采纳解答
原帖链接 · dyasny · CC BY-SA 3.0
You need to pass a monitor command:
When QEMU is running, it provides a monitor console for interacting with QEMU. Through various commands, the monitor allows you to inspect the running guest OS, change removable media and USB devices, take screenshots and audio grabs, and control various aspects of the virtual machine.
The monitor is accessed from within QEMU by holding down the Ctrl and Alt keys (or whatever the "mouse grab" keystrokes are), and pressing Shift-2. Once in the monitor, Shift-1 switches back to the guest OS. Typing help or ? in the monitor brings up a list of all commands. Alternatively the monitor can be redirected to using the -monitor command line option. Using -monitor stdio will send the monitor to the standard output, this is most useful when using qemu on the command line.
Some relevant commands:
https://en.wikibooks.org/wiki/QEMU/Monitor#Virtual_machine
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
