Correct, there's a comment above the call. But data breakpoint are muchJust what you said, it's not easy and the needs are limited. IIt seems kvm_vcpu_check_breakpoint() handles only for code breakpoint
implemented kvm_vcpu_check_breakpoint because I was interested in
using hardware breakpoints from gdb, even with unrestricted_guest=0
and invalid guest state, but that's it.
and doesn't handle for data breakpoints.
harder and relatively less useful.
Data breakpoints are actually quite useful. I/O breakpoints not so much.