diff options
author | Borislav Petkov <bp@suse.de> | 2013-09-22 16:44:52 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-30 18:54:40 +0100 |
commit | b51e974fcdabd00c8f5943ee7943c4ea788f57b6 (patch) | |
tree | 648fb34866aa3ff7cf58aa19c99a0ddbc36bf5ab /arch/x86/include/asm/kvm_emulate.h | |
parent | 1ce19dc16ce9136cccb6087e4a383ec9321980d9 (diff) | |
download | blackbird-op-linux-b51e974fcdabd00c8f5943ee7943c4ea788f57b6.tar.gz blackbird-op-linux-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.h | 2 |
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; |