aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/config.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-03-04 10:51:08 -0600
committerJason T. Greene <jason.greene@redhat.com>2022-03-18 15:06:57 -0500
commit44e9b539eed70b8efe023a035fcf48a8acaa0d06 (patch)
treed38b4c6cb95b87b4c9079af426b09681415c2c26 /pkg/machine/config.go
parente3184e963c09f1b989f729297a1cb62ed39d2881 (diff)
downloadpodman-44e9b539eed70b8efe023a035fcf48a8acaa0d06.tar.gz
podman-44e9b539eed70b8efe023a035fcf48a8acaa0d06.tar.bz2
podman-44e9b539eed70b8efe023a035fcf48a8acaa0d06.zip
MacOS improvements
* Enable support of virtfs in Podman and darwin. At the time of this writing, it requires a special patch not yet included in upstream qemu. * Prefer to use a specially built qemu to support virtfs. The qemu is installed under libexec/podman. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine/config.go')
-rw-r--r--pkg/machine/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/machine/config.go b/pkg/machine/config.go
index efb1eda15..b3b105150 100644
--- a/pkg/machine/config.go
+++ b/pkg/machine/config.go
@@ -1,3 +1,4 @@
+//go:build amd64 || arm64
// +build amd64 arm64
package machine
@@ -28,6 +29,8 @@ type InitOptions struct {
Username string
ReExec bool
Rootful bool
+ // The numberical userid of the user that called machine
+ UID string
}
type QemuMachineStatus = string