HomeFreeBSD

bhyve: refactor gdbstub to enable single-stepping on AMD CPUs

Description

bhyve: refactor gdbstub to enable single-stepping on AMD CPUs

This patch refactors the existing Intel-specific single-stepping
mechanism in bhyve's GDB stub to work with both AMD and Intel CPUs.

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

(cherry picked from commit ca96a942cafb58476e10e887240e594e7923a6e8)

Details

Provenance
bnovkovAuthored on Dec 12 2023, 11:28 PM
jhbCommitted on Jan 5 2024, 12:26 AM
Reviewer
jhb
Differential Revision
D42298: bhyve: refactor gdbstub to enable single-stepping on AMD CPUs
Parents
rGb879ddc755b7: vmm: implement VM_CAP_MASK_HWINTR on AMD CPUs
Branches
Unknown
Tags
Unknown