diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-06 21:04:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 21:04:12 +0100 |
commit | d62752819214ee7f910e25d368d427fbcac74b17 (patch) | |
tree | 85f61c7ea0190923d5ce85190764700708dba25c /pkg/machine/qemu/config.go | |
parent | 2fd6c2ee89e92ced8568d7ed3ea3f04017b154ed (diff) | |
parent | 6630e5cf66cf76aefcfe9caebe5df4f37dd0bdd5 (diff) | |
download | podman-d62752819214ee7f910e25d368d427fbcac74b17.tar.gz podman-d62752819214ee7f910e25d368d427fbcac74b17.tar.bz2 podman-d62752819214ee7f910e25d368d427fbcac74b17.zip |
Merge pull request #11454 from afbjorklund/virtfs-volumes
Implement virtfs volumes for podman machine
Diffstat (limited to 'pkg/machine/qemu/config.go')
-rw-r--r-- | pkg/machine/qemu/config.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/machine/qemu/config.go b/pkg/machine/qemu/config.go index 8404079a2..e76509bb1 100644 --- a/pkg/machine/qemu/config.go +++ b/pkg/machine/qemu/config.go @@ -11,6 +11,8 @@ type MachineVM struct { CPUs uint64 // The command line representation of the qemu command CmdLine []string + // Mounts is the list of remote filesystems to mount + Mounts []Mount // IdentityPath is the fq path to the ssh priv key IdentityPath string // IgnitionFilePath is the fq path to the .ign file @@ -33,6 +35,14 @@ type MachineVM struct { RemoteUsername string } +type Mount struct { + Type string + Tag string + Source string + Target string + ReadOnly bool +} + type Monitor struct { // Address portion of the qmp monitor (/tmp/tmp.sock) Address string |