summaryrefslogtreecommitdiff
path: root/libpod/container_config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-26 09:31:06 -0400
committerGitHub <noreply@github.com>2021-04-26 09:31:06 -0400
commitfef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6 (patch)
treec11b5aff7eb871af2ed6375bd4adc600bf43ea88 /libpod/container_config.go
parent333817a187f7811919b9f5fb75a829fe5abfbc44 (diff)
parentdb7cff8c86a35a4b1971c3fbb2365eff9cc205d4 (diff)
downloadpodman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.tar.gz
podman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.tar.bz2
podman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.zip
Merge pull request #10081 from sjug/cdi_device_lib
Add support for CDI device configuration
Diffstat (limited to 'libpod/container_config.go')
-rw-r--r--libpod/container_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go
index e6c3be1bd..d0572fbc2 100644
--- a/libpod/container_config.go
+++ b/libpod/container_config.go
@@ -366,4 +366,6 @@ type ContainerMiscConfig struct {
Umask string `json:"umask,omitempty"`
// PidFile is the file that saves the pid of the container process
PidFile string `json:"pid_file,omitempty"`
+ // CDIDevices contains devices that use the CDI
+ CDIDevices []string `json:"cdiDevices,omitempty"`
}