Remove duplicate GVA-to-GPA translation in sw breakpoint functions#1137
Conversation
|
Thanks @IrvingMg! this look good on a quick glance. Might have @dblnz take a look. Given holidays might be slow. Could you sign your commit? https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification |
Signed-off-by: IrvingMg <mirvingr@gmail.com>
dd8457f to
0397689
Compare
Oops, missed that! It’s signed now. Thanks! |
There was a problem hiding this comment.
Thanks for this, it looks good to me. However I wonder if we can remove these? I'm not sure whether they are related to this or not, but they look suspicious...
Perhaps @dblnz knows?
I don't think those can be eliminated. We still need to report an error when the debugger client requests operating on an address that is not valid for the guest. |
Fix double GVA-to-GPA translation in
add_sw_breakpointandremove_sw_breakpoint. These functions were translating addresses before passing them toread_addrs/write_addrs, which translate internally.Fixes #1046