mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-07 04:07:21 +00:00
This commit adds `set_guest_debug` implementation for x86/KVM. This function sets hardware breakpoints and single step to debug registers. NOTE: The `set_guest_debug` implementation is based on the crosvm implementation [1]. [1] https://github.com/google/crosvm/blob/main/hypervisor/src/kvm/x86_64.rs Signed-off-by: Akira Moroo <retrage01@gmail.com>