]> www.infradead.org Git - users/willy/xarray.git/commit
KVM: Introduce CONFIG_HAVE_KVM_DIRTY_RING
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 21 Nov 2021 12:54:40 +0000 (12:54 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Dec 2021 17:55:52 +0000 (12:55 -0500)
commitdc70ec217cec504e6f8fee8fd91bf5c118af05f2
tree4f7aba57eed16fec454bc5bc255c75919799dd9e
parent45af1bb99b72e36c16714390a8a3c9445e432938
KVM: Introduce CONFIG_HAVE_KVM_DIRTY_RING

I'd like to make the build include dirty_ring.c based on whether the
arch wants it or not. That's a whole lot simpler if there's a config
symbol instead of doing it implicitly on KVM_DIRTY_LOG_PAGE_OFFSET
being set to something non-zero.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20211121125451.9489-2-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Kconfig
include/linux/kvm_dirty_ring.h
virt/kvm/Kconfig
virt/kvm/kvm_main.c