diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/kvm_host.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 31ebb59cbd2..d70a250701e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -730,6 +730,13 @@ static inline bool kvm_vcpu_is_bsp(struct kvm_vcpu *vcpu) | |||
| 730 | { | 730 | { |
| 731 | return vcpu->kvm->bsp_vcpu_id == vcpu->vcpu_id; | 731 | return vcpu->kvm->bsp_vcpu_id == vcpu->vcpu_id; |
| 732 | } | 732 | } |
| 733 | |||
| 734 | bool kvm_vcpu_compatible(struct kvm_vcpu *vcpu); | ||
| 735 | |||
| 736 | #else | ||
| 737 | |||
| 738 | static inline bool kvm_vcpu_compatible(struct kvm_vcpu *vcpu) { return true; } | ||
| 739 | |||
| 733 | #endif | 740 | #endif |
| 734 | 741 | ||
| 735 | #ifdef __KVM_HAVE_DEVICE_ASSIGNMENT | 742 | #ifdef __KVM_HAVE_DEVICE_ASSIGNMENT |
