Processor control register virtualization to minimize virtual machine exits
Abstract
A processor includes a processor control register with a control flag that determines an operating mode of the processor. A pointer to a guest virtual machine context in a portion of a random access memory (RAM) is coupled to the processor. An execution control unit tests a first flag in the guest virtual machine context, the first flag to indicate whether the control flag is owned by a guest virtual machine associated with the guest virtual machine context. The execution control unit maintains the control flag in the processor control register if the control flag is owned by the guest virtual machine and maintains the control flag in a shadow location in the guest virtual machine context if the control flag is not owned by the guest virtual machine.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 1.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for setting an operating mode of a processor by maintaining a control flag included in a processor control register of the processor by a guest virtual machine, the method comprising: determining whether the control flag is owned by the guest virtual machine; maintaining the control flag in the processor control register if the control flag is owned by the guest virtual machine; and maintaining the control flag in a shadow location in a guest virtual machine context in a memory coupled to the processor if the control flag is not owned by the guest virtual machine.
- Claim 2Depends on #1
The method of claim 1 , wherein determining whether the control flag is owned by the guest virtual machine further comprises testing a first flag in a mask word.
- Claim 3Depends on #1
The method of claim 1 , further comprising: determining whether the control flag is maintained in t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,965,310 B2 | Virtual machine exit analyzer | 2018 | 0 |