machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.43k stars 353 forks source link

Support Big Sur #200

Closed shanesmith closed 3 years ago

shanesmith commented 3 years ago

Based on #192 but with fixes to additional issues I've encountered.

Tested on Big Sur 11.0 Beta 10 with Xcode 12.1 and Xcode 12.2 Beta 4.

shanesmith commented 3 years ago

Also tested successfully on macOS Catalina 10.15.7

shanesmith commented 3 years ago

@jasnee @jeremyhu Pardon the tagging, but since Big Sur got released today I was hoping I could get some eyes on this from someone who knows what they're doing here. =)

rbishop commented 3 years ago

Just tested this locally on Big Sur (Late 2013 MBP) and xhyve is back up and running for me. Thanks!

burke commented 3 years ago

Great—fixes seem good! :+1:

jasnee commented 3 years ago

Thanks for putting this up @shanesmith and other folks for testing it out! Looks like it builds fine against the macOS 11 and macOS 10.15 SDKs.

As noted above, I think this patch should be ideally limited to fixing the macOS 11 SDK build issues. We can investigate the issues around VMX flags separately.

shanesmith commented 3 years ago

Thanks for the quick attention @jasnee! I've moved ARCHS as requested and created #201 for the VMX flag fixes.

skeyby commented 3 years ago

@shanesmith After updating to latest xhyve on Big Sur we're getting hv_vm_create failed on different machines.

We tried different things but couldn't get it to work. Maybe it's because of #201 that is not merged yet?

shanesmith commented 3 years ago

@skeyby that's exactly what #201 fixes =)