Messages in this thread Patch in this message | | | From | Shameer Kolothum <> | Subject | [PATCH] KVM: Add the missing stub function for kvm_dirty_ring_check_request() | Date | Thu, 16 Mar 2023 15:45:54 +0000 |
| |
The stub for !CONFIG_HAVE_KVM_DIRTY_RING case is missing.
Fixes: cf87ac739e48 ("KVM: x86: Introduce KVM_REQ_DIRTY_RING_SOFT_FULL") Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> --- include/linux/kvm_dirty_ring.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/kvm_dirty_ring.h b/include/linux/kvm_dirty_ring.h index 4862c98d80d3..a00301059da5 100644 --- a/include/linux/kvm_dirty_ring.h +++ b/include/linux/kvm_dirty_ring.h @@ -69,6 +69,11 @@ static inline void kvm_dirty_ring_free(struct kvm_dirty_ring *ring) { } +static inline bool kvm_dirty_ring_check_request(struct kvm_vcpu *vcpu) +{ + return false; +} + #else /* CONFIG_HAVE_KVM_DIRTY_RING */ int kvm_cpu_dirty_log_size(void); -- 2.34.1
| |