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>
This commit is contained in:
Borislav Petkov
2013-09-22 16:44:52 +02:00
committed by Paolo Bonzini
parent 1ce19dc16c
commit b51e974fcd
3 changed files with 9 additions and 10 deletions

View File

@@ -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;