On Tue, Oct 12, 2021 at 03:53:21PM +0200, Igor Mammedov wrote: ... > > > > > > Instead of putting workaround in QEMU and then making them generic, > > > I'd prefer to: > > > 1. make QEMU to be able generate DT with memory-less nodes > > > > How? DT syntax doesn't allow this, because each node needs a unique > > name which is derived from its base address, which an empty numa > you are talking about memory@foo nodes, aren't you?
yes, memory@<address> nodes ... > > > > > or use ACPI tables which can > > > describe memory-less NUMA nodes if fixing how DT is > > > parsed unfeasible. > > > > We use ACPI already for our guests, but we also generate a DT (which > > edk2 consumes). We can't generate a valid DT when empty numa nodes > does edk2 actually uses numa info from QEMU? > edk2 doesn't use it, but I'd prefer we generate a DT which describes the user's input and what the ACPI tables describe. Maybe someday it won't be possible, but so far we've managed. Thanks, drew