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)
Jan 19 2024, 1:23 PM
Unknown Object (File)
Jan 5 2024, 10:34 PM
Unknown Object (File)
Dec 31 2023, 3:04 PM
Unknown Object (File)
Dec 25 2023, 5:25 PM
Unknown Object (File)
Dec 20 2023, 8:26 AM
Unknown Object (File)
Dec 19 2023, 1:50 AM
Unknown Object (File)
Dec 7 2023, 11:59 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.