Hypervisor
Jump to navigation
Jump to search
About
hypervisor is a 70 line module in recent versions of CoreGUI and CoreGUI-PE.
The module has 3 functions:
- detectHyperVisor
- GetHyperVisor
- showHyperVisorMessage
detectHyperVisor
detectHyperVisor works by getting the current reported model of the system using WMIC from the Win32_ComputerSystem module. It attempts to detect the following:
- Hyper-V
- VMware7,1
- VirtualBox
- VMware
QEMU and multiple others are planned to be added in future.
getHypervisor
getHyperVisor calls detectHyperVisor, if a HyperVisor is detected, it's returned to the caller. If not, "none" is returned.
showHyperVisorMessage
showHyperVisorMessage calls detectHyperVisor, if detectHyperVisor sets F1's isVirtualMachine to 'true', vboxwarning is called, displaying a message with the detected platform.