diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-01 12:02:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-06 11:41:54 +0100 |
commit | c6986f16a7022ccfb73d91bc7676c8e1d15e5342 (patch) | |
tree | 315d164b674c90d94ceaaf55b7753a91e37a667d /hmp-commands.hx | |
parent | e586edcb410543768ef009eaa22a2d9dd4a53846 (diff) |
KVM: x86: do not fail if software breakpoint has already been removed
If kvm_arch_remove_sw_breakpoint finds that a software breakpoint does not
have an INT3 instruction, it fails. This can happen if one sets a
software breakpoint in a kernel module and then reloads it. gdb then
thinks the breakpoint cannot be deleted and there is no way to add it
back.
Suggested-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions