diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-19 11:28:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 11:28:38 +0100 |
commit | 19c80199a9973be16cc7c8a5c664a18b179f0179 (patch) | |
tree | 35c33b726c63b4f204f345f6c6a3d810876d914e /pkg/machine/qemu/config.go | |
parent | e3184e963c09f1b989f729297a1cb62ed39d2881 (diff) | |
parent | 6878376c42125a783333d4c587c7183f27efed19 (diff) | |
download | podman-19c80199a9973be16cc7c8a5c664a18b179f0179.tar.gz podman-19c80199a9973be16cc7c8a5c664a18b179f0179.tar.bz2 podman-19c80199a9973be16cc7c8a5c664a18b179f0179.zip |
Merge pull request #13560 from n1hility/backport-handle-incompatible
[v4.0] Backport handling of incompatible machines
Diffstat (limited to 'pkg/machine/qemu/config.go')
-rw-r--r-- | pkg/machine/qemu/config.go | 7 |
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 { |