GIF is implicitly cleared (interrupts are unmasked) by vmrun and implicitly set with #VMEXIT.
AMD64 Architecture Programmer's Manual Volume 2: System Programming, 15.5.1, Loading Guest State, p. 450:
After all guest state is loaded, and intercepts and other control bits are set up, the processor reenables interrupts by setting GIF to 1
|
AMD64 Architecture Programmer's Manual Volume 2: System Programming, 15.6, #VMEXIT, p. 452:
Disables interrupts by clearing the GIF, so that after the #VMEXIT, VMM software can complete the state switch atomically.
|
#svm