How to resume Linux VM running after it is suspend from inside?

1.6k views Asked by At

I am running Ubuntu 20.04 X86_64 VM within KVM+QEMU.
And I ran a command within the Ubuntu VM to suspend it from inside "sudo systemctl suspend".
After running it, the SSH and virsh console have no responses. So I think the VM is suspended.
In this case, how can I resume the VM running?
I tried 'sudo virsh inject-nmi ubuntu_vm', but it seemed not work.
'sudo virsh list' shows the VM is in running state.

1

There are 1 answers

4
Krackout On

You can either use,

virsh dompmwakeup ubuntu_vm

or from qemu monitor,

system_wakeup