Re: Handling faults on new HLV/HSV instructions in Hypervisor Extension draft 0.6
Jonathan Behrens <behrensj@...>
toggle quoted message Show quoted text
Having SPP/SPV hold the real values makes the most sense to me. The strategy I'd expect hypervisors to use would be to set a bit before issuing any HLV or HSV instructions and clear it after. Then in their page fault handler they'd check if it is set in order to "blame" that fault on the guest and take appropriate action instead of resuming normal execution.
On Mon, Apr 13, 2020 at 10:48 PM John Hauser via lists.riscv.org <jh.riscv=jhauser.us@...> wrote:
Greg Favor wrote: