spiegel_podman/pkg/machine/vmconfigs/config_windows.go
Brent Baude d2c1de5993 Add krun support to podman machine
This PR adds libkrun support to podman machine.  This is an experimental feature and should not be marketed yet.  Before we unmark the experimental status on this function, we will need to have full CI support and a full podman point release has pased.

This work relies on the fact that vfkit and libkrun share a reasonably (if not perfectly) same API.  The --log-level debug option will not show a GUI screen for boots as krun is not capable of this.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-04-26 08:58:38 -05:00

27 lines
535 B
Go

package vmconfigs
import (
"github.com/containers/podman/v5/pkg/machine/hyperv/vsock"
)
type HyperVConfig struct {
// ReadyVSock is the pipeline for the guest to alert the host
// it is running
ReadyVsock vsock.HVSockRegistryEntry
// NetworkVSock is for the user networking
NetworkVSock vsock.HVSockRegistryEntry
}
type WSLConfig struct {
// Uses usermode networking
UserModeNetworking bool
}
// Stubs
type AppleHVConfig struct{}
type LibKrunConfig struct{}
type QEMUConfig struct{}
func getHostUID() int {
return 1000
}