spiegel_podman/pkg/machine/vmconfigs
Paul Holzinger 7a75914921
podman machine init: do not write config unlocked
First make sure we check that a given VM exist when holding the VM lock
for it. The check in cmd/podman/machine/init.go is a nice quick out but
not enough to ensure that 2 processes to not create the same VM at the
same time. The only way to ensure this is by holding the lock and
checking if the VM config file exists.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-03-07 14:58:25 +01:00
..
arch.go Prune FCOS related code 2024-02-15 21:05:17 -06:00
arch_test.go Prune FCOS related code 2024-02-15 21:05:17 -06:00
config.go machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
config_common.go pkg/machine: make it build for freebsd 2024-02-08 17:43:50 +01:00
config_darwin.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
config_windows.go wsl - wip 2024-02-11 12:58:11 -06:00
machine.go podman machine init: do not write config unlocked 2024-03-07 14:58:25 +01:00
sockets.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
sockets_darwin.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volumes.go Podman 5 machine refactor - applehv 2024-02-07 09:18:45 -06:00
volumes_unix.go [CI:MACHINE]Podman5 QEMU refactor 2024-02-07 09:18:36 -06:00
volumes_windows.go [CI:MACHINE]Podman5 QEMU refactor 2024-02-07 09:18:36 -06:00