uefi separation of the layer from the driver?
xSanx opened this issue · 3 comments
xSanx commented
I apologize for the stupid question, why do I need a driver in Windows, what does it virtualize?
hypervisor commented
It needs a driver because that is the only real way to enter CPL0 (kernel mode) which is required for VMX instructions. This virtualizes all your processors.
xSanx commented
that is, they work together? I assumed that the hypervisor works as a layer between windows and uefi
hypervisor commented
You misunderstand what a hypervisor is and the difference between type 1 and 2. A type 2 hypervisor needs a driver to run, as it is self hosted. Although the typical hypervisor itself doesn’t really depend on the OS, it needs a driver to execute in kernel mode (CPL0).