Pausa / Suspender convidado no KVM sem virsh e libvirtd

1

Eu instalei o KVM sem libvirt / virsh e virtualmanager.

Pacotes instalados são kvm qemu-kvm bridge-utils libguestfs-tools

Como posso pausar / suspender a VM nesse caso?

    
por user54 15.12.2017 / 22:45

1 resposta

3

Você precisa passar um comando de monitor:

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.

Alguns comandos relevantes:

link

    
por 16.12.2017 / 00:22