commit | 7f3d35fddd173e52886d03bc34b5b5d6f5bea343 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Feb 08 14:34:38 2012 +0100 |
committer | Avi Kivity <avi@redhat.com> | Thu Mar 08 14:10:26 2012 +0200 |
tree | 9561913495a92c398b9b8e372d4e9a5c1d55c7f4 | |
parent | 9cc815e46911486f52bec60517d0f7b40d323bbc [diff] |
KVM: x86 emulator: Fix task switch privilege checks Currently, all task switches check privileges against the DPL of the TSS. This is only correct for jmp/call to a TSS. If a task gate is used, the DPL of this take gate is used for the check instead. Exceptions, external interrupts and iret shouldn't perform any check. [avi: kill kvm-kmod remnants] Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>