aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-09-22 16:44:52 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-10-30 18:54:40 +0100
commitb51e974fcdabd00c8f5943ee7943c4ea788f57b6 (patch)
tree648fb34866aa3ff7cf58aa19c99a0ddbc36bf5ab /arch/x86/include/asm/kvm_emulate.h
parentkvm, emulator: Use opcode length (diff)
downloadlinux-dev-b51e974fcdabd00c8f5943ee7943c4ea788f57b6.tar.xz
linux-dev-b51e974fcdabd00c8f5943ee7943c4ea788f57b6.zip
kvm, emulator: Rename VendorSpecific flag
Call it EmulateOnUD which is exactly what we're trying to do with vendor-specific instructions. Rename ->only_vendor_specific_insn to something shorter, while at it. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index 92a176ad456c..24ec1216596e 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -274,7 +274,7 @@ struct x86_emulate_ctxt {
bool guest_mode; /* guest running a nested guest */
bool perm_ok; /* do not check permissions if true */
- bool only_vendor_specific_insn;
+ bool ud; /* inject an #UD if host doesn't support insn */
bool have_exception;
struct x86_exception exception;