This repository has been archived by the owner on Jan 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 873
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect interruptibility_state before vmx entry.
According to SDM 26.3.1.5 Checks on Guest Non-Register State, Bit 0 (blocking by STI) must be 0 if the IF flag (bit 9) is 0 in the RFLAGS field. There is an issue during snapshot loading, that IF and interruptibility_state don't pass the checks, which will result in VM-entry failure due to invalid guest state. This WA correct the bit so that vmx entry check could pass. The normal interruptibility_state update is done when advancing the IP. In future, proper approach is expected to replace the WA. Signed-off-by: Colin Xu <colin.xu@intel.com>
- Loading branch information
Showing
3 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters