[PATCH 0/7] KVM: Add Makefile.kvm for common files
David Woodhouse
dwmw2 at infradead.org
Tue Nov 16 03:50:21 PST 2021
On Mon, 2021-11-15 at 20:26 +0100, Paolo Bonzini wrote:
> > > Also, for the small requests: since you are at it, can you add the code
> > > in a new file under virt/kvm/?
> >
> > Hm... only if I can make hva_to_pfn() and probably a handful of other
> > things non-static?
>
> Yes, I think sooner or later we also want all pfn stuff in one file
> (together with MMU notifiers) and all hva stuff in another; so for now
> you can create virt/kvm/hva_to_pfn.h, or virt/kvm/mm.h, or whatever
> color of the bikeshed you prefer.
OK... let's start with this.
David Woodhouse (7):
KVM: Introduce CONFIG_HAVE_KVM_DIRTY_RING
KVM: Add Makefile.kvm for common files, use it for x86
KVM: s390: Use Makefile.kvm for common files
KVM: mips: Use Makefile.kvm for common files
KVM: RISC-V: Use Makefile.kvm for common files
KVM: powerpc: Use Makefile.kvm for common files
KVM: arm64: Use Makefile.kvm for common files
arch/arm64/kvm/Makefile | 6 ++----
arch/mips/kvm/Makefile | 3 ++-
arch/powerpc/kvm/Makefile | 6 +-----
arch/riscv/kvm/Makefile | 6 +-----
arch/s390/kvm/Makefile | 6 ++----
arch/x86/kvm/Kconfig | 1 +
arch/x86/kvm/Makefile | 7 +------
include/linux/kvm_dirty_ring.h | 8 ++++----
virt/kvm/Kconfig | 3 +++
virt/kvm/Makefile.kvm | 13 +++++++++++++
virt/kvm/kvm_main.c | 4 ++--
11 files changed, 32 insertions(+), 31 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5174 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kvm-riscv/attachments/20211116/40019c66/attachment.p7s>
More information about the kvm-riscv
mailing list