machyve / xhyve

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

Issue booting - hv_vm_create failed #83

Closed cbarratt closed 8 years ago

cbarratt commented 8 years ago

sudo build/xhyve -A -m 4G -c 4 -s 0:0,hostbridge -s 31,lpc -l com1,stdio -s 2:1,virtio-net -f "kexec,test/vmlinuz,test/initrd.gz,earlyprintk=serial console=ttyS0"

Results in: hv_vm_create failed

ProductName: Mac OS X ProductVersion: 10.11.4 BuildVersion: 15E27e

Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro11,4 Processor Name: Intel Core i7 Processor Speed: 2.2 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 16 GB Boot ROM Version: MBP114.0172.B07 SMC Version (system): 2.29f24

NoEffex commented 8 years ago

I am having this issue as well and it appears to be linked to 10.11.4 as it worked on 10.11.3 on my desktop and still works on 10.11.3 on my laptop. My guess is that it is an Apple bug.

NoEffex commented 8 years ago

They indeed changed hypervisor.framework and I'm not certain exactly what. It is not a huge change when I did a binary diff on the library (/System/Library/Frameworks/Hypervisor.framework) but it definitely appears to have broken it. I would wager that it is Apple's fault, so I will just use the old framework until it is fixed hopefully before they release 10.11.4 (non-beta).

jbergstroem commented 8 years ago

@NoEffex did you file a rdar? if so, could you share it?

AntonioMeireles commented 8 years ago

//cc @jeremyhu

jeremyhu commented 8 years ago

File a radar at http://bugreport.apple.com and mention the radar number here.

NoEffex commented 8 years ago

@jeremyhu I filed it under 24223377 and it was marked as a duplicate of 24073994

jeremyhu commented 8 years ago

Should be fixed in the seed that just went out today.

AntonioMeireles commented 8 years ago

@jeremyhu THANKS!!!!!

07151129 commented 8 years ago

@jeremyhu By the way, are there any plans on publishing Hypervisor source in foreseeable future? :(

cbarratt commented 8 years ago

@jeremyhu - Are you referring to a new OSX 10.11 beta seed?

caarlos0 commented 8 years ago

Same issue here.

Any workarounds?

jeremyhu commented 8 years ago

Actually, my apologies. I think I may have spoken too soon. I was told the fix would be in seed 2, but looking into it a bit more, I think it isn't. Sorry, please sit tight.

zchee commented 8 years ago

@cbarratt Solved this issue on 15E33e :)

@jbergstroem Thanks fixed :)

I recorded screencast. See

caarlos0 commented 8 years ago

@zchee what do I need to do to user the new version?

zchee commented 8 years ago

@caarlos0 Sorry, I am not good at English :( I didn't quite understand what you meant.

Could you explain it in more detail?

caarlos0 commented 8 years ago

@zchee sorry..

as far as I understood, the issue is fixed, right?

I was wondering what are the steps to fix it in my machine... (I am with the latest xhyve version already)

zchee commented 8 years ago

@caarlos0 Sorry, I do not yet understand all :( Do you still have this problem occurs?

OS X builds 15E27e has a Hypervisor bug. OS X builds 15E33e fixed. Did you upgrade your OS X to 15E33e (OS X El Capitan v10.11.4 beta 2)? If you use OS X version is not 15E27e, It is not related to this problem.

(I am with the latest xhyve version already)

This issue is not related to the xhyve

caarlos0 commented 8 years ago

@zchee oh sorry, it's me that is messing up... I thought it was a xhyve update, but it is an OSX update... so, yeah, I need to update my OSX :package:

sorry for the misunderstanding.

zchee commented 8 years ago

@caarlos0 :)

cbarratt commented 8 years ago

Annoyingly I'm on public beta rather than developer beta so I don't have any new updates :(

caarlos0 commented 8 years ago

@cbarratt yeah me neither

Jellyfrog commented 8 years ago

Works with latest beta ProductVersion: 10.11.4 BuildVersion: 15E33e