mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-23 00:37:53 +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> |
||
|---|---|---|
| .. | ||
| applehv | ||
| e2e | ||
| hyperv | ||
| os | ||
| qemu | ||
| wsl | ||
| config.go | ||
| config_test.go | ||
| connection.go | ||
| errors.go | ||
| fcos.go | ||
| fcos_test.go | ||
| fedora_unix.go | ||
| fedora_windows.go | ||
| ignition.go | ||
| ignition_darwin.go | ||
| ignition_freebsd.go | ||
| ignition_linux.go | ||
| ignition_schema.go | ||
| ignition_windows.go | ||
| keys.go | ||
| machine_unix.go | ||
| machine_unsupported.go | ||
| machine_windows.go | ||
| pull.go | ||
| ssh.go | ||
| update.go | ||
| volumes.go | ||