Describe the bug
Issue is similar to the #119. But now it happens mainly during RequestStop and waiting for vm state to change to stop
To Reproduce
Steps to reproduce the behavior:
- limactl start template://experimental/vz
- limactl stop vz
- Notice panic happened
Expected behavior
No panic occurs during stop
Environment that you use to compile (please complete the following information):
- Xcode version: [
Xcode 14.1 Build version 14B47b]
- macOS Version: [
ProductName: macOS, ProductVersion: 13.2, BuildVersion: 22D49]
- mac architecture: [
x86_64]
- Go Version: [
go version go1.20.1 darwin/amd64]
Additional context
lima-vm/lima#1381