spiegel_podman/pkg
Valentin Rothberg c341a0ffe0 machine: QEMU: lock VM on start
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>
2023-07-27 14:16:02 +02:00
..
annotations Remove ReservedAnnotations from kube generate specification 2023-01-18 08:46:24 -05:00
api Fix: use --all in podman stats to get all containers stats 2023-07-26 09:41:14 +03:00
auth fix(deps): update module github.com/docker/docker to v24 2023-05-22 15:32:12 +02:00
autoupdate auto update: fix usage of --authfile 2023-07-05 08:30:39 +02:00
bindings Fix: use --all in podman stats to get all containers stats 2023-07-26 09:41:14 +03:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint criu: return error when checking for min version 2023-06-12 15:29:21 +02:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu criu: return error when checking for min version 2023-06-12 15:29:21 +02:00
ctime Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
domain Fix: use --all in podman stats to get all containers stats 2023-07-26 09:41:14 +03:00
env vendor: bump containers/(storage, common, buildah, image) 2023-04-10 17:30:14 +05:30
errorhandling Fix typos 2023-02-11 18:23:24 +01:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io *: migrate image registry to registry.k8s.io 2023-04-11 10:30:43 -04:00
lookup source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
machine machine: QEMU: lock VM on start 2023-07-27 14:16:02 +02:00
namespaces source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
parallel Fix stutters 2022-09-10 07:52:00 -04:00
ps Add {{.Restarts}} to podman ps 2023-05-02 10:30:07 -04:00
rctl pkg/rctl: Remove unused cgo dependency 2022-10-31 15:13:48 +00:00
rootless add a podman-compose command 2023-07-24 19:23:04 +02:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Run codespell on code 2022-11-04 10:57:41 -04:00
specgen Merge pull request #19353 from vrothberg/fix-6160 2023-07-26 09:18:57 +02:00
specgenutil Add support for mounts listed in containers.conf 2023-07-26 17:13:41 -04:00
systemd Add support for ShmSize to quadlet 2023-07-22 06:41:39 -04:00
terminal podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
timetype bump golangci-lint to v1.49.0 2022-10-17 09:19:41 +02:00
trust Revert the usage of home.GetConfigHome() 2023-07-17 18:29:06 +02:00
util Use constants for mount types 2023-07-14 07:17:21 -04:00