aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-06 21:04:12 +0100
committerGitHub <noreply@github.com>2022-01-06 21:04:12 +0100
commitd62752819214ee7f910e25d368d427fbcac74b17 (patch)
tree85f61c7ea0190923d5ce85190764700708dba25c /pkg/machine/qemu/config.go
parent2fd6c2ee89e92ced8568d7ed3ea3f04017b154ed (diff)
parent6630e5cf66cf76aefcfe9caebe5df4f37dd0bdd5 (diff)
downloadpodman-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.go10
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