commit | 82b32774c2d00c0a12ab182c67e32e0b5e5e580a | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Sun Nov 02 11:54:45 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 07 15:44:04 2014 +0100 |
tree | 4952f26cbee010060c1b447216cc60961b9edee5 | |
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>