diff options
author | 2014-07-21 14:37:29 +0300 | |
---|---|---|
committer | 2014-07-21 13:42:21 +0200 | |
commit | 4467c3f1ad16e3640e2b61e1a5e0bd55281a925d (patch) | |
tree | 05b79ab580777565c3433752372cc51ead3af8f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: popf emulation should not change RF (diff) | |
download | linux-dev-4467c3f1ad16e3640e2b61e1a5e0bd55281a925d.tar.xz linux-dev-4467c3f1ad16e3640e2b61e1a5e0bd55281a925d.zip |
KVM: x86: Clear rflags.rf on emulated instructions
When an instruction is emulated RFLAGS.RF should be cleared. KVM previously did
not do so. This patch clears RFLAGS.RF after interception is done. If a fault
occurs during the instruction, RFLAGS.RF will be set by a previous patch. This
patch does not handle the case of traps/interrupts during rep-strings. Traps
are only expected to occur on debug watchpoints, and those are anyhow not
handled by the emulator.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions