summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux/kvm.h
diff options
context:
space:
mode:
authorDoug Evans2016-12-07 00:06:30 +0100
committerPaolo Bonzini2016-12-22 16:01:04 +0100
commitc52ab08aee6f7d4717fc6b517174043126bd302f (patch)
tree59715b2881805e60a3e12b49083c08faba7efaff /linux-headers/linux/kvm.h
parentkvmclock: reduce kvmclock difference on migration (diff)
downloadqemu-c52ab08aee6f7d4717fc6b517174043126bd302f.tar.gz
qemu-c52ab08aee6f7d4717fc6b517174043126bd302f.tar.xz
qemu-c52ab08aee6f7d4717fc6b517174043126bd302f.zip
target-i386: Fix eflags.TF/#DB handling of syscall/sysret insns
The syscall and sysret instructions behave a bit differently: TF is checked after the instruction completes. This allows the o/s to disable #DB at a syscall by adding TF to FMASK. And then when the sysret is executed the #DB is taken "as if" the syscall insn just completed. Signed-off-by: Doug Evans <dje@google.com> Message-Id: <94eb2c0bfa1c6a9fec0543057483@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions