Files
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
..
2022-12-15 13:39:56 +01:00
2022-09-20 15:34:27 -04:00
2023-02-11 18:23:24 +01:00
2023-07-27 14:16:02 +02:00
2022-09-10 07:52:00 -04:00
2023-05-02 10:30:07 -04:00
2023-07-24 19:23:04 +02:00
2022-11-04 10:57:41 -04:00
2022-10-17 09:19:41 +02:00
2023-07-14 07:17:21 -04:00