Re: Create VM exits when guest executes IRET on Intel CPU ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 24/02/2017 11:32, sci sci wrote:
> I tried several combinations of the following settings but with little
> success.
> 
> 1) Set/Unset Virtual NMIs which is bit 5 in pin based vm execution control
> 2) Set/Unset bit 3 in guest interruptibility state (Blocking by NMI)
> 3) Set/Unset "NMI-blocking" which is bit 3 in pin based NMI exiting
> 4) Set/Unset "NMI-window exiting" which is bit 22 in primary processor
> based VM execution control.

Doing all four of these should do it:

- set bit 3 in pin-based controls to cause a VMEXIT for host NMIs and
enable special processing of IRET (paragraph 25.3)

- set bit 5 in pin-based controls so that guest interruptibility state
tracks virtual-NMI blocking

- set bit 22 of VM executino control to enable the NMI-window vmexit

- set bit 3 in guest interruptibility state to delay the NMI-window exit
until the next IRET

Paolo



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux