machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

Explicitly disable VMCS shadowing #227

Closed iworker closed 3 years ago

iworker commented 4 years ago

It's just forwarding of these changes: https://github.com/machyve/xhyve/pull/174

MacOSX 10.15 hypervisor framework supports VMCS shadowing.

VM creation fails with:

vmx_set_ctlreg: cap_field: 2 bit: 14 unspecified don't care vmx_init: processor does not support desired secondary processor-based controls Unable to create VM (22)

Add the VMCS shadow control bit to the list of disabled controls.

Probably, it could fix #156