mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-22 13:57:36 +00:00
Lock the VM on start. If the machine is in the "starting" state we know that a previous start has failed and guide the user into resolving the issue. Concurrent starts will busy wait and return the expected "already running" error. NOTE: this change is only looking at the start issue (#18662). Other commands such as stop and update should also lock and will be updated in a future change. I expect the underlying issue to apply to all machine providers, not only QEMU. It's desirable to aim for extending the machine interface to also allow to `Lock()` and `Unlock()`. After acquiring the lock, the VM should automatically be reloaded/updated. [NO NEW TESTS NEEDED] Fixes: #18662 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com> |
||
|---|---|---|
| .. | ||
| claim_darwin.go | ||
| claim_unsupported.go | ||
| config.go | ||
| config_test.go | ||
| machine.go | ||
| machine_test.go | ||
| machine_unix.go | ||
| machine_unsupported.go | ||
| machine_windows.go | ||
| options_darwin.go | ||
| options_darwin_amd64.go | ||
| options_darwin_arm64.go | ||
| options_freebsd.go | ||
| options_freebsd_amd64.go | ||
| options_freebsd_arm64.go | ||
| options_linux.go | ||
| options_linux_amd64.go | ||
| options_linux_arm64.go | ||
| options_windows.go | ||
| options_windows_amd64.go | ||
| options_windows_arm64.go | ||