Files
podman/pkg/machine/vmconfigs/config_common.go
Paul Holzinger 5c1ed12d8d enable gofumpt formatter
Based on our discussion gofumpt won the vote so use that one via
golangci-lint.

https://github.com/containers/podman/discussions/27291

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-11 12:32:46 +01:00

30 lines
553 B
Go

//go:build linux || freebsd
package vmconfigs
import (
"os"
"github.com/containers/podman/v6/pkg/machine/define"
"github.com/containers/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()
}