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

Details

Provenance
bnovkovAuthored on Dec 7 2023, 10:40 PM
jhbCommitted on Dec 7 2023, 11:10 PM
Reviewer
jhb
Differential Revision
D42405: vmm: refactor event reflection in AMD SVM
Parents
rG3f46be6acadd: tcp_hpts: let tcp_hpts_init() set a random CPU only once
Branches
Unknown
Tags
Unknown