HomeFreeBSD

vmm: enable software breakpoints for AMD CPUs

Description

vmm: enable software breakpoints for AMD CPUs

This patch adds support for software breakpoint vmexits on AMD SVM.
It implements the VM_CAP_BPT_EXIT used to enable software breakpoints.
When enabled, breakpoint vmexits are passed to userspace where they
are handled by the GDB stub.

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

Details

Provenance
bnovkovAuthored on Dec 7 2023, 10:46 PM
jhbCommitted on Dec 7 2023, 11:10 PM
Reviewer
jhb
Differential Revision
D42295: vmm: enable software breakpoints for AMD CPUs
Parents
rG78c1d174a1e1: vmm: refactor event reflection in AMD SVM
Branches
Unknown
Tags
Unknown