Re: [RFC PATCH v2 0/3] KVM: allow mapping of compound tail pages for IO or PFNMAP mapping

From: Sean Christopherson
Date: Mon Feb 12 2024 - 22:07:37 EST


On Wed, Jan 03, 2024, Yan Zhao wrote:
> This is a v2 for previous series [1] to allow mapping for compound tail
> pages for IO or PFNMAP mapping.
>
> Compared to v1, this version provides selftest to check functionality in
> KVM to map memslots for MMIO BARs (VMAs with flag VM_IO | VM_PFNMAP), as
> requested by Sean in [1].

Doh. So I didn't intend for you to have to create a mock device just to be able
to run a selftest. I assumed it would be easy-ish to utilize an existing generic
device. I take it that's not the case?