summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2017-06-23 13:20:09 +0200
committerPaolo Bonzini2017-07-04 14:30:03 +0200
commit1110bfe6f5600017258fa6578f9c17ec25b32277 (patch)
treeb61f67ef255b62c4f8632c07a9052331e2c45cb2 /include/exec
parenttarget/i386: fix interrupt CPL error when using ist in x86-64 (diff)
downloadqemu-1110bfe6f5600017258fa6578f9c17ec25b32277.tar.gz
qemu-1110bfe6f5600017258fa6578f9c17ec25b32277.tar.xz
qemu-1110bfe6f5600017258fa6578f9c17ec25b32277.zip
target/i386: simplify handling of conforming code segments on interrupt
Move the handling of conforming code segments before the handling of stack switch. Because dpl == cpl after the new "if", it's now unnecessary to check the C bit when testing dpl < cpl. Furthermore, dpl > cpl is checked slightly above the modified code, so the final "else" is unreachable and we can remove it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions