commit | 59708670b639bff00f92e519df1ae14da240e919 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng@linux.intel.com> | Tue Dec 15 13:29:54 2009 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:39 2010 -0300 |
tree | d13c81270cb94ce85e0d2cee773dbe62d7a9a79d | |
parent | 186a3e526ac1b4063a723f90ae4893beedb24fc6 [diff] |
KVM: VMX: Trap and invalid MWAIT/MONITOR instruction We don't support these instructions, but guest can execute them even if the feature('monitor') haven't been exposed in CPUID. So we would trap and inject a #UD if guest try this way. Cc: stable@kernel.org Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>