mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
Previously, the locks were on the provider layer, which doesn't make a vm operation with a config file update atomic. Move them up a layer, so the entire function locks while doing provider and config operations. This adds a Remove and a Set function to the shim layer. [NO NEW TESTS NEEDED] Unsure how to test this Signed-off-by: Ashley Cui <acui@redhat.com>