HomeFreeBSD

vmm: refactor event reflection in AMD SVM

Description

vmm: refactor event reflection in AMD SVM

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).

Reviewed by: jhb
Sponsored by: Google, Inc. (GSoC 2022)
Differential Revision: https://reviews.freebsd.org/D42405

(cherry picked from commit 78c1d174a1e13c6522bd4d663225fc9cbabc329d)

Details

Provenance
bnovkovAuthored on Dec 7 2023, 10:40 PM
jhbCommitted on Jan 5 2024, 12:24 AM
Reviewer
jhb
Differential Revision
D42405: vmm: refactor event reflection in AMD SVM
Parents
rG1309b3fd0113: agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes
Branches
Unknown
Tags
Unknown