diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-11-02 11:54:45 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-07 15:44:04 +0100 |
commit | 82b32774c2d00c0a12ab182c67e32e0b5e5e580a (patch) | |
tree | 4952f26cbee010060c1b447216cc60961b9edee5 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 7305eb5d8cf147ce4178e723c95de15e2f001429 (diff) |
KVM: x86: Breakpoints do not consider CS.base
x86 debug registers hold a linear address. Therefore, breakpoints detection
should consider CS.base, and check whether instruction linear address equals
(CS.base + RIP). This patch introduces a function to evaluate RIP linear
address and uses it for breakpoints detection.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions