lima-vm / lima-vm/lima

Implement suspend and resume of VM

Open
#598 3 comments 9 reactions 0 assignees View on GitHub
component/qemu enhancement
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

Seems like QMP has these nice commands:

**stop**
Suspend execution of VM

**cont**
Reverse a previous stop command - resume execution of VM.

https://en.wikibooks.org/wiki/QEMU/Monitor#Virtual_machine

Allows you to suspend and resume the VM, through qmp.sock:

```
Welcome to the QMP low-level shell!
Connected to QEMU 4.2.1
(QEMU) stop
{"return": {}}
(QEMU) cont
{"return": {}}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.