ad

Intel Virtualization Technology (VT)- 2-How It Works

Written By NEO on 4/29/2011 | 4/29/2011 09:14:00 ÖÖ



How It Works

Processors with Virtualization Technology have an extra instruction set called Virtual Machine Extensions or VMX. VMX brings 10 new virtualization-specific instructions to the CPU: VMPTRLD, VMPTRST, VMCLEAR, VMREAD, VMWRITE, VMCALL, VMLAUCH, VMRESUME, VMXOFF and VMXON.
There are two modes to run under virtualization: root operation and non-root operation. Usually only the virtualization controlling software, called Virtual Machine Monitor (VMM), runs under root operation, while operating systems running on top of the virtual machines run under non-root operation. Software running on top of virtual machines is also called ”guest software“.
To enter virtualization mode, the software should execute the VMXON instruction and then call the VMM software. Then VMM software can enter each virtual machine using the VMLAUNCH instruction, and exit it by using the VMRESUME. If VMM wants to shutdown and exit virtualization mode, it executes the VMXOFF instruction.

click to enlarge
Figure 4: Virtualization technology operation.
Each guest shown in Figure 4 can be a different operating system, running its own software (even several programs at the same time as we have shown in Figure 3).

0 comment:

Yorum Gönder