-
公开(公告)号:US20170220369A1
公开(公告)日:2017-08-03
申请号:US15014977
申请日:2016-02-03
Applicant: Advanced Micro Devices, Inc.
Inventor: David A. Kaplan , Joel Howard Schopp
CPC classification number: G06F9/45558 , G06F12/1045 , G06F2009/45579 , G06F2009/45591 , G06F2212/50
Abstract: Systems, apparatuses, and methods for implementing hypervisor post-write notification of processor state register modifications. A write to a state register of the processor may be detected during guest execution. In response to detecting the write to the state register, the processor may trigger microcode to perform the write and copy the new value of the register to a memory location prior to exiting the guest. The hypervisor may be notified of the update to the state register after it occurs, and the hypervisor may be prevented from modifying the value of the guest's state register. The hypervisor may terminate the guest if the update to the state register is unacceptable. Alternatively, the hypervisor may recommend an alternate value to the guest. If the guest agrees, the guest may set the state register to the alternate value recommended by the hypervisor when the guest resumes operation.
-
公开(公告)号:US10963280B2
公开(公告)日:2021-03-30
申请号:US15014977
申请日:2016-02-03
Applicant: Advanced Micro Devices, Inc.
Inventor: David A. Kaplan , Joel Howard Schopp
IPC: G06F9/455 , G06F12/1045
Abstract: Systems, apparatuses, and methods for implementing hypervisor post-write notification of processor state register modifications. A write to a state register of the processor may be detected during guest execution. In response to detecting the write to the state register, the processor may trigger microcode to perform the write and copy the new value of the register to a memory location prior to exiting the guest. The hypervisor may be notified of the update to the state register after it occurs, and the hypervisor may be prevented from modifying the value of the guest's state register. The hypervisor may terminate the guest if the update to the state register is unacceptable. Alternatively, the hypervisor may recommend an alternate value to the guest. If the guest agrees, the guest may set the state register to the alternate value recommended by the hypervisor when the guest resumes operation.
-