Re: [PATCH RFC v4 00/13] virtio-mem: paravirtualized memory

From: Alex Shi
Date: Fri Jun 05 2020 - 06:46:36 EST




å 2020/6/5 äå6:05, David Hildenbrand åé:
>> I guess I know what's happening here. In case we only have DMA memory
>> when booting, we don't reserve swiotlb buffers. Once we hotplug memory
>> and online ZONE_NORMAL, we don't have any swiotlb DMA bounce buffers to
>> map such PFNs (total 0 (slots), used 0 (slots)).
>>
>> Can you try with "swiotlb=force" on the kernel cmdline?
> Alternative, looks like you can specify "-m 2G,maxmem=16G,slots=1", to
> create proper ACPI tables that indicate hotpluggable memory. (I'll have
> to look into QEMU to figure out to always indicate hotpluggable memory
> that way).
>


That works too. Yes, better resolved in qemu, maybe. :)

Thanks!