SimpleVisor icon indicating copy to clipboard operation
SimpleVisor copied to clipboard

uefi separation of the layer from the driver?

Open xSanx opened this issue 4 years ago • 3 comments

I apologize for the stupid question, why do I need a driver in Windows, what does it virtualize?

xSanx avatar Apr 29 '20 07:04 xSanx

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.

hypervisor avatar Apr 29 '20 07:04 hypervisor

that is, they work together? I assumed that the hypervisor works as a layer between windows and uefi

xSanx avatar Apr 29 '20 12:04 xSanx

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).

hypervisor avatar May 06 '20 17:05 hypervisor