Page MenuHomeFreeBSD

vmm: refactor event reflection in AMD SVM
ClosedPublic

Authored by bnovkov on Oct 30 2023, 4:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 12:51 PM
Unknown Object (File)
Sat, Apr 27, 5:10 AM
Unknown Object (File)
Apr 1 2024, 1:14 PM
Unknown Object (File)
Mar 9 2024, 7:34 PM
Unknown Object (File)
Mar 9 2024, 7:33 PM
Unknown Object (File)
Mar 9 2024, 7:33 PM
Unknown Object (File)
Mar 6 2024, 3:14 AM
Unknown Object (File)
Jan 19 2024, 1:23 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.