A set of extra instructions is added that can be used by a process in VMX root
mode. These instructions do things like allocating a memory page on which to
store a full copy of the CPU state, start, and stop a VM. Finally, a set of bitmaps is
defined indicating whether a particular interrupt, instruction, or exception should
be passed to the virtual machine’s OS running in ring 0 or by the hypervisor
running in VMX root mode.

VT

Intel VT提供了一种新的运行模式(VMX root mode),可以理解为Ring -1。

 

同时提供几条新的指令,用来配置VMM的工作模式:

  • 分配一个内存页,用来存放CPU state的一个完整拷贝
  • 启动或者关闭一个VM
  • 设置一个位图,其中的每一位用来表示哪些interrupt/instruction/exception应该由Ring 0层的操作系统来执行,哪些指令由Ring -1层的VMM来执行。

相关文章:

  • 2021-09-13
  • 2021-12-19
  • 2022-12-23
  • 2021-09-22
  • 2021-05-24
  • 2021-07-02
  • 2021-11-07
  • 2021-07-10
猜你喜欢
  • 2021-11-08
  • 2021-05-06
  • 2021-10-08
  • 2021-12-19
  • 2021-12-28
  • 2021-11-25
相关资源
相似解决方案