Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blueshogun96

macrumors regular
Original poster
Nov 24, 2012
112
3
I read that up until OSX 10.5, it came with kvm.h. Nowadays, there doesn't seem to be any equivalents for this. I tried googling, but never did find any information as to why Apple decided to remove kvm.h from OSX.

Any alternatives? Thanks.

Shogun
 
I don't think the OP meant KVM, the virtualisation technology, but KVM, Kernel Virtual Memory. kvm.h, on BSDs usually contains definitions/APIs to access structs held by the kernel.
I was referring to the virtualization stuff. Sorry, I should have mentioned that.

Basically looking into a simple virtualization project in an attempt to emulate a guest that has never been emulated before. I'm not new to emulation of x86 based machines (some will recognize my nickname and know what I'm talking about) and I would like to look into it.

This is indeed what I am looking for, but unfortunately I do not own a 2010 Mac atm. So maybe when I finally get a new job I can afford a new comp.

Thanks!

Shogun.
 
As pointed-out above, kvm.h has nothing to do with KVM, the virtualization technology. AFAIK, OSX never came with KVM.

Also, AFAIK, KVM is not available for MacOS. It is Linux-specific, and MacOS is based on BSD.

If you are just looking for a free virtual machine manager, consider VirtualBox:

https://www.virtualbox.org/wiki/Downloads

If you don't mind spending a bit, also consider VMWare Fusion.

I use both: VMWare Fusion for general use running guest OSs (Windows, Linux) and VirtualBox for running Android in GenyMotion. (I am an app developer.)

Actually, VirtualBox comes packaged "under the hood" with quite a few products.
 
As pointed-out above, kvm.h has nothing to do with KVM, the virtualization technology. AFAIK, OSX never came with KVM.

Also, AFAIK, KVM is not available for MacOS. It is Linux-specific, and MacOS is based on BSD.

If you are just looking for a free virtual machine manager, consider VirtualBox:

https://www.virtualbox.org/wiki/Downloads

If you don't mind spending a bit, also consider VMWare Fusion.

I use both: VMWare Fusion for general use running guest OSs (Windows, Linux) and VirtualBox for running Android in GenyMotion. (I am an app developer.)

Actually, VirtualBox comes packaged "under the hood" with quite a few products.
Thanks, but that's not what I need for this intended purpose. This is for an emulation/VM experiment for an x86 based platform that has (to my knowledge) never been emulated, therefore not as simple as installing Windows or Linux. It's very hardware specific and only the x86 part gives it something in common with your everyday PC/Intel Mac.

Either way, that framework, Xhyve, is precisely what I was looking for, even though I lack a Mac capable of running it. So for now I will stick to a simpler, yet more risky method.

Shogun
 
Last edited:
Xhyve is not a framework, it is an application that uses the hypervisor framework in OS X. So does Veertu. Xhyve however is more like a combination of the hypervisor framework and bhyve from FreeBSD. Basically it is hypervisor.framework plus virtIO (which is what KVM uses as well).

Hypervisor.framework is seriously lacking in features compared to Virtualbox which already is lacking in features compared to VMware Fusion and Parallels Desktop. If you want a free solution than Veertu/Xhyve (aka hypervisor.framework) or Virtualbox are the ones to look at. If you want very stable software from a company which has had years of experience with hypervisors then you should look at VMware Fusion. Parallels Desktop is a good alternative for Fusion but it doesn't support non-supported OS that well nor does it support as much operating systems as VMware products do.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.