Method and apparatus for a guest to access a privileged register
Abstract
Embodiments of apparatuses and methods for guest processes to access registers are disclosed. In one embodiment, an apparatus includes an interface to a first register, shadow logic, evaluation logic, and exit logic. The shadow logic is to, in response to a guest attempt to write data to the first register, cause the data to be written to a second register. The evaluation logic is to determine, based on the value of the data, whether to transfer control to a host in response to the guest attempt. The exit logic is to transfer control to the host after the data is written to the second register if the evaluation logic determines to transfer control.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A processor comprising: an interface to a task priority register of an advanced programmable interrupt controller; shadow logic to, in response to a guest attempt to write a task priority value to the task priority register, cause the task priority value to be written to a shadow location in a memory instead of the task priority register; evaluation logic to determine, based on a comparison of the task priority value to an exit-predicate value stored in a virtual machine control structure, whether to transfer control to a host in response to the guest attempt; and exit logic to transfer contro
- Claim 2Depends on #1
The processor of claim 1 , wherein the shadow logic is also to cause the task priority value to be read from the shado
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗