14

Is KVM a type 1 or a type 2 hypervisor?

I understand that type 1 hypervisors run on bare metal while type 2 hypervisors are applications running on top of an operating system (such as VMware Workstation). I also understand that the performance difference between type 1 and type 2 clients can be significant.

I am confused as if KVM is type 1 or 2 as I understand that a desktop environment can be installed in dom0.

17

KVM is not a clear case as it could be categorized as either one. The KVM kernel module turns Linux kernel into a type 1 bare-metal hypervisor, while the overall system could be categorized to type 2 because the host OS is still fully functional and the other VM's are standard Linux processes from its perspective.

The desktop environment i.e. GUI has less to do with this. It's more clear if we compare this to Hyper-V, where the hypervisor is a distinct layer beneath all the virtual machines: even dom0 is technically just one VM among others, despite it has special privileges and it is the one shown in the console, having a GUI. Therefore, if we stare too much at the appearance, Hyper-V might look like type 2 while it is purely type 1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.