Closed eccoisle closed 2 months ago
@eccoisle unfortunately only macOS VMs can be suspendable at the moment. Fixing the UX in #797
Thanks for the quick response, and this excellent piece of software! Any possibility of this functionality being added to Linux VMs down the line?
Thank you for you kind words! We are limited by possibilities of Virtualization.Framework
and the moment it will have suspension for Linux VMs we'll support it.
machine
M1 MacBook Air macOS Sonoma 14.4.1
steps to reproduce
tart clone ghcr.io/cirruslabs/debian:latest debian
tart run debian
Terminal Output:
pausing VM to take a snapshot... creating a snapshot... snapshot created successfully! shutting down the VM... CancellationError()
tart run debian
Terminal Output:
restoring VM state from a snapshot... Error Domain=VZErrorDomain Code=12 "The virtual machine failed to restore with error “invalid argument”." UserInfo={NSLocalizedFailure=An error occurred while restoring the virtual machine., NSLocalizedFailureReason=The virtual machine failed to restore with error “invalid argument”.}
Note: I've also tried prepending the --suspendable option to the 'tart run' command
tart run --suspendable debian
, and then closing the window using the window controls, but this results in the same error output.Would really appreciate any insight!