mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-19 05:40:20 +00:00
The current code would inject GP to guest, when there's no IWKeyBackup, and the guest tried to write MSR MSR_IA32_COPY_PLATFORM_TO_LOCAL(0xd92) to copy IWKeyBackup for the platform to the IWKey for this logical processor. This patch fixes it by adjusting the code logic, and it'll do nothing instead of inject GP if no valid IWKeyBackup. This patch alse add checking for the value being written to avoid setting reserved MSR bits. Tracked-On: #7018 Signed-off-by: Wen Qian <qian.wen@intel.com> Signed-off-by: Li Fei <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> |
||
---|---|---|
.. | ||
x86 |