KVM: x86: sgdt and sidt are not privilaged
authorNadav Amit <namit@cs.technion.ac.il>
Mon, 2 Jun 2014 15:34:06 +0000 (18:34 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 15:46:17 +0000 (17:46 +0200)
commit606b1c3e87597c2d6c9f3eb833a7251262390295
tree1319dfd6b2a82ac9c7657a09ba41b77a170caee0
parent2eedcac8a97cef43c9c5236398fc8c9d0fd9cc0c
KVM: x86: sgdt and sidt are not privilaged

The SGDT and SIDT instructions are not privilaged, i.e. they can be executed
with CPL>0.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c