summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-07 17:28:01 -0500
committerGitHub <noreply@github.com>2022-03-07 17:28:01 -0500
commit4a242b1327fb34e6cac6c1686afb3370901180d3 (patch)
tree4d7378131817dde779ce8d19b2281234eae120c0 /pkg/machine/qemu/config.go
parent2873f089f7de04cadc345f36bf405ae813a60765 (diff)
parentcdb6deb148f72cad9794dec176e4df1b81d31d08 (diff)
downloadpodman-4a242b1327fb34e6cac6c1686afb3370901180d3.tar.gz
podman-4a242b1327fb34e6cac6c1686afb3370901180d3.tar.bz2
podman-4a242b1327fb34e6cac6c1686afb3370901180d3.zip
Merge pull request #13409 from baude/virtfsdarwin
MacOS improvements
Diffstat (limited to 'pkg/machine/qemu/config.go')
-rw-r--r--pkg/machine/qemu/config.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/machine/qemu/config.go b/pkg/machine/qemu/config.go
index c619b7dd4..b39334be0 100644
--- a/pkg/machine/qemu/config.go
+++ b/pkg/machine/qemu/config.go
@@ -1,8 +1,11 @@
+//go:build (amd64 && !windows) || (arm64 && !windows)
// +build amd64,!windows arm64,!windows
package qemu
-import "time"
+import (
+ "time"
+)
type Provider struct{}
@@ -35,6 +38,8 @@ type MachineVM struct {
RemoteUsername string
// Whether this machine should run in a rootful or rootless manner
Rootful bool
+ // UID is the numerical id of the user that called machine
+ UID int
}
type Mount struct {