commit | 4161a569065b17954848069d5209182083ce876b | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Thu Jul 17 01:19:31 2014 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 21 13:43:09 2014 +0200 |
tree | b9c283d8e7b6937cbbd7016a4431e8eca2407134 | |
parent | 6c6cb69b8e974049cca2cc4480052fb9e7df767b [diff] |
KVM: x86: emulator injects #DB when RFLAGS.RF is set If the RFLAGS.RF is set, then no #DB should occur on instruction breakpoints. However, the KVM emulator injects #DB regardless to RFLAGS.RF. This patch fixes this behavior. KVM, however, still appears not to update RFLAGS.RF correctly, regardless of this patch. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>