multipass
multipass copied to clipboard
Suspend operation blocks daemon
When suspending an instance, it will block other client commands until it finishes. This needs to be an async process.
The issue is still relevant. This issue will require a refactor of the daemon. A possible idea is to launch all VM management tasks to a thread and return via grpc the fact that the operation is being performed. To report the different stages (of launching for example), we could set the states of the VM to those stages. Other operations like exec cannot be async since they are supposed to behave as a command, but it would be interesting to allow multiple commands to be executed at the same time (i.e., restart and list).