KVM: Clear exception queue before emulating an instruction
[sfrench/cifs-2.6.git] / arch / x86 / kvm / x86.h
1 #ifndef ARCH_X86_KVM_X86_H
2 #define ARCH_X86_KVM_X86_H
3
4 #include <linux/kvm_host.h>
5
6 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu)
7 {
8         vcpu->arch.exception.pending = false;
9 }
10
11 #endif