Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly disable VMCS shadowing #174

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

dx9
Copy link
Contributor

@dx9 dx9 commented Sep 17, 2019

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.

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.

Signed-off-by: John Coyle <dx9err@gmail.com>
@jasnee jasnee merged commit 1f46a3d into machyve:master Oct 1, 2019
@shanesmith shanesmith mentioned this pull request Nov 6, 2020
shanesmith added a commit to shanesmith/xhyve that referenced this pull request Nov 13, 2020
As seen in machyve#192 I was having similar issues with `vmx_set_ctlreg:
cap_field: 2 bit: 20 unspecified don't care`.

I followed the example of machyve#174 and disabled the bits that would show up
in the errors.
erikolofsson pushed a commit to erikolofsson/xhyve that referenced this pull request Sep 1, 2021
As seen in machyve#192 I was having similar issues with `vmx_set_ctlreg:
cap_field: 2 bit: 20 unspecified don't care`.

I followed the example of machyve#174 and disabled the bits that would show up
in the errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants