mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +00:00
The podman module paths are moving from github.com/containers/podman to go.podman.io/podman. This will help with future mobility. Signed-off-by: Brent Baude <bbaude@redhat.com>
29 lines
535 B
Go
29 lines
535 B
Go
//go:build linux || freebsd
|
|
|
|
package vmconfigs
|
|
|
|
import (
|
|
"os"
|
|
|
|
"go.podman.io/podman/v6/pkg/machine/define"
|
|
"go.podman.io/podman/v6/pkg/machine/qemu/command"
|
|
)
|
|
|
|
type QEMUConfig struct {
|
|
// QMPMonitor is the qemu monitor object for sending commands
|
|
QMPMonitor command.Monitor
|
|
// QEMUPidPath is where to write the PID for QEMU when running
|
|
QEMUPidPath *define.VMFile
|
|
}
|
|
|
|
// Stubs
|
|
type (
|
|
AppleHVConfig struct{}
|
|
HyperVConfig struct{}
|
|
LibKrunConfig struct{}
|
|
WSLConfig struct{}
|
|
)
|
|
|
|
func getHostUID() int {
|
|
return os.Getuid()
|
|
}
|