diff options
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/kvm_host.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 20597bc16744..4702b04b979a 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -415,8 +415,10 @@ enum emulation_result { | |||
415 | EMULATE_FAIL, /* can't emulate this instruction */ | 415 | EMULATE_FAIL, /* can't emulate this instruction */ |
416 | }; | 416 | }; |
417 | 417 | ||
418 | #define EMULTYPE_NO_DECODE (1 << 0) | ||
419 | #define EMULTYPE_TRAP_UD (1 << 1) | ||
418 | int emulate_instruction(struct kvm_vcpu *vcpu, struct kvm_run *run, | 420 | int emulate_instruction(struct kvm_vcpu *vcpu, struct kvm_run *run, |
419 | unsigned long cr2, u16 error_code, int no_decode); | 421 | unsigned long cr2, u16 error_code, int emulation_type); |
420 | void kvm_report_emulation_failure(struct kvm_vcpu *cvpu, const char *context); | 422 | void kvm_report_emulation_failure(struct kvm_vcpu *cvpu, const char *context); |
421 | void realmode_lgdt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); | 423 | void realmode_lgdt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); |
422 | void realmode_lidt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); | 424 | void realmode_lidt(struct kvm_vcpu *vcpu, u16 size, unsigned long address); |