spiegel_podman/pkg/machine/shim
Paul Holzinger e82d196269
pkg/machine: make checkExclusiveActiveVM race free
We need to take another lock to prevent concurrent starts from different
machines.

I manually tested it by starting three VM in parallel with:
podman machine start & podman machine start test1 & podman machine start test2

I also added a CI test that seems to work as expected (failed with the
old binary, worked with the new)

Before this patch I was able to start more than VM, with this patch it
now only starts one of them and the other ones will fail to start with
a proper error.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-03-14 11:13:08 +01:00
..
diskpull Use machine image as specified in containers.conf 2024-02-29 13:38:43 -05:00
claim_darwin.go Implement generic providers 2024-02-07 09:18:38 -06:00
claim_unsupported.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
host.go pkg/machine: make checkExclusiveActiveVM race free 2024-03-14 11:13:08 +01:00
networking.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
networking_unix.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
networking_windows.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
volume.go Bump Go module to v5 2024-02-08 09:35:39 -05:00