> Am 18.10.2020 um 17:29 schrieb Michael S. Tsirkin <mst@xxxxxxxxxx>: > > On Mon, Oct 12, 2020 at 02:52:54PM +0200, David Hildenbrand wrote: >> virtio-mem currently only supports device block sizes that span at most >> a single Linux memory block. For example, gigantic pages in the hypervisor >> result on x86-64 in a device block size of 1 GiB - when the Linux memory >> block size is 128 MiB, we cannot support such devices (we fail loading the >> driver). Of course, we want to support any device block size in any Linux >> VM. >> >> Bigger device block sizes will become especially important once supporting >> VFIO in QEMU - each device block has to be mapped separately, and the >> maximum number of mappings for VFIO is 64k. So we usually want blocks in >> the gigabyte range when wanting to grow the VM big. > > I guess it missed this Linux right? There's an mm change which did not > get an ack from mm mainatiners, so I can't merge it ... No issue, I was targeting 5.11 either way! I‘ll resend based on linus‘ tree now that all prereqs are upstream.