multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Suspend operation blocks daemon

Open townsend2010 opened this issue 6 years ago • 1 comments

When suspending an instance, it will block other client commands until it finishes. This needs to be an async process.

townsend2010 avatar Sep 10 '19 17:09 townsend2010

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).

tobe2098 avatar Nov 17 '25 10:11 tobe2098