[SCSI] sd: Don't try to spin up drives that are connected to an inactive port
[linux-2.6/mini2440.git] / arch / x86 / kvm / x86.h
blob6a4be78a7384395d10f869287d552d59a5cb5060
1 #ifndef ARCH_X86_KVM_X86_H
2 #define ARCH_X86_KVM_X86_H
4 #include <linux/kvm_host.h>
6 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu)
8 vcpu->arch.exception.pending = false;
11 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector)
13 vcpu->arch.interrupt.pending = true;
14 vcpu->arch.interrupt.nr = vector;
17 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu)
19 vcpu->arch.interrupt.pending = false;
22 #endif