On 25.11.20 17:11, Jonathan Cameron wrote: > On Wed, 25 Nov 2020 16:54:53 +0100 > David Hildenbrand <da...@redhat.com> wrote: > >>>>>> >>>>>> 64k guest on 4k host with 512MiB block size seems fine. >>>>>> >>>>>> If there are any places anyone thinks need particular poking I'd >>>>>> appreciate a hint :) >>>>> >>>>> If things seem to work for now, that's great :) Thanks! >>>>> >>>> Cool. I'll run a few more comprehensive tests then send out the >>>> trivial patch to enable the kernel option + v2 of the qemu support. >>> >>> Perfect, thanks! >> >> Oh, btw, I have no idea what the state of vfio-pci + QEMU on arm64 is. >> In case it's supposed to work, you could give >> >> https://lkml.kernel.org/r/20201119153918.120976-1-da...@redhat.com >> >> to see what we're missing. > > vfio-pci works in general (and we use it a lot), so sure I'll give > this a test run.
Cool. In case you get it to run, please test with both "online_kernel" and "online_movable" in the guest, and small boot memory (e.g., 2 GiB). For example, on x86-64 I got my vfio-pci provided GPUs to consume virtio-mem memory easily when starting with 2-4 GiB boot memory and using "online_kernel". (I verified that when not creating the mappings, IO errors can be observed and graphics are messed up). -- Thanks, David / dhildenb