mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00

Systemd supports unit files with a prefix '-' which tells the system to check if the content exists before using it. This would allow the QM project to specify AddDevice=-/dev/kvm, which would add the /dev/kvm device to the container iff it exists on the host. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>