gevulotnetwork / gevulot

Gevulot is an internet scale compute network for zero-knowledge proof generation and verification.
https://gevulot.com
Apache License 2.0
154 stars 48 forks source link

Add timeout to QEMU QMP connect #161

Closed tuommaki closed 7 months ago

tuommaki commented 7 months ago

QEMU QMP connection can be blocking sometimes, which leads to whole scheduling loop getting halted. This change adds timeout to QMP connect so that there's maximum limit how long this can take time before the VM is given up and killed.

While at it, cleanup some leftovers from workspace volume refactoring and fix vm_registry maintenance on VM termination.