firecracker-microvm / firecracker-go-sdk

An SDK in Go for the Firecracker microVM API
Apache License 2.0
485 stars 123 forks source link

Remove `addVsocksHandler` from `loadSnapshotHandlerList` #506

Open CuriousGeorgiy opened 1 year ago

CuriousGeorgiy commented 1 year ago

According to the firecracker OpenAPI specification ^1, creating vsock devices is only a pre-boot request, so adding vsocks after loading a snapshot fails. It also seems redundant, since the VM loaded from a snapshot restores vsocks anyways.