[PATCH 2/3] KVM: x86: Emulator support for #UD on CPL0

2014-06-18 Thread Nadav Amit
Certain instructions (e.g., mwait and monitor) cause a #UD exception when they are executed in privilaged mode. This is in contrast to the regular privilaged instructions which cause #GP. In order not to mess with SVM interception of mwait and monitor which assumes privilage level assertions take

Re: [PATCH 2/3] KVM: x86: Emulator support for #UD on CPL0

2014-06-18 Thread Paolo Bonzini
Il 18/06/2014 16:19, Nadav Amit ha scritto: Certain instructions (e.g., mwait and monitor) cause a #UD exception when they are executed in privilaged mode. It's actually non-privileged mode (Priv means the instruction is privileged, not the mode). So I've renamed the flag to PrivUD. Paolo