VMCS有对中断虚拟化和APIC的控制,这些控制都用起来以后,处理器会在non-root模式下模拟APIC的访问、跟踪Virtual APIC的状态、传递虚拟中断而不产生VM-Exit。
APIC V short for APIC Virtualization
APIC V related controls:
- Virtual-interrupt delivery
- Use TPR shadow
- Virtualize APIC accesses
- Virtualize x2APIC mode
- APIC-register virtualization
- process posted interrupts
This control allows software to post virtual interrupts in a data structure and send a notification to another logical processor; upon receipt of the notification, the target processor will process the posted interrupts by copying them into the virtual-APIC page
Q: how can I know the status of each one on my box?
Virtual APIC Page
处理器通过VMM指示的那个virtual APIC page跟踪virtual APIC的状态。Virtual APIC Page是一个4KB的内存区。