spiegel_podman/pkg/machine/vmconfigs/config_common.go
Brent Baude 2cc3be7332
RUN-4539: Change podman module paths
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>
2026-04-22 14:02:25 -05:00

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()
}