Page MenuHomeFreeBSD

vmm: refactor event reflection in AMD SVM
ClosedPublic

Authored by bnovkov on Oct 30 2023, 4:56 PM.
Tags
None
Referenced Files
F84253751: D42405.diff
Tue, May 21, 12:19 PM
Unknown Object (File)
Thu, May 16, 8:07 PM
Unknown Object (File)
Thu, May 16, 8:07 PM
Unknown Object (File)
Thu, May 16, 8:07 PM
Unknown Object (File)
Thu, May 16, 7:54 PM
Unknown Object (File)
Tue, May 14, 5:42 AM
Unknown Object (File)
Mon, May 13, 7:20 PM
Unknown Object (File)
Sat, Apr 27, 12:51 PM

Details

Summary

This patch refactors AMD SVM event reflection to allow events to be propagated to userland, rather than always reflected into the guest.
This is necessary to implement some capabilities that request VMEXITs when a specific exception occurs (e.g. VM_CAP_BPT_EXIT).

This work was sponsored by the GSoC '22 program.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bnovkov edited the summary of this revision. (Show Details)
bnovkov added a reviewer: corvink.

If you merge this first, then the breakpoint patch doesn't need 'handled = 0', right?

This revision is now accepted and ready to land.Nov 29 2023, 6:05 PM
In D42405#976891, @jhb wrote:

If you merge this first, then the breakpoint patch doesn't need 'handled = 0', right?

Yes, that line is redundant and I've removed it.

This revision was automatically updated to reflect the committed changes.