summaryrefslogtreecommitdiff
path: root/cmd/podman/machine
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-08-04 13:23:04 -0500
committerBrent Baude <bbaude@redhat.com>2022-08-08 14:04:49 -0500
commit1045647a4ad24b248be1038d5b89cfc4923213f9 (patch)
tree09bb29a5be3730d5d3baa0ed8a3c70fb8c85f69e /cmd/podman/machine
parent28607a9238b30be9e2b6dd6476f410eed5314ae9 (diff)
downloadpodman-1045647a4ad24b248be1038d5b89cfc4923213f9.tar.gz
podman-1045647a4ad24b248be1038d5b89cfc4923213f9.tar.bz2
podman-1045647a4ad24b248be1038d5b89cfc4923213f9.zip
Add interface for apple hypervisor
The new apple silicon processesors (m1/m2) are capable of using a performent apple hypervisor (included in macos). Our "virtual providers" for podman machine are part of an interface design. This PR provides an implementation of the interface to begin the work for supporting the apple hypervisor. It is basically only a skeletal PR. The actual code for using the hypervisor and launching a machine will come as several new PRs following the inclusion of this one. There will likely be code reuse between the applehv and qemu code; but none of that code is being moved at this time. It will be moved "on demand" during development. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/machine')
-rw-r--r--cmd/podman/machine/platform.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/machine/platform.go b/cmd/podman/machine/platform.go
index 5ba649a48..3a7e56ac7 100644
--- a/cmd/podman/machine/platform.go
+++ b/cmd/podman/machine/platform.go
@@ -9,5 +9,5 @@ import (
)
func GetSystemDefaultProvider() machine.Provider {
- return qemu.GetQemuProvider()
+ return qemu.GetVirtualizationProvider()
}