machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 354 forks source link

Explicitly disable VMCS shadowing #174

Closed dx9 closed 4 years ago

dx9 commented 4 years ago

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.