Re: [Qemu-devel] [PATCH] ACPI/unit-test: Add a testcase for RAM allocation in numa node

2017-10-22 Thread Dou Liyang
Hi Eduardo, Thanks for your reply. At 10/21/2017 03:15 AM, Eduardo Habkost wrote: On Wed, Oct 18, 2017 at 11:50:32AM +0800, Dou Liyang wrote: At 10/18/2017 11:48 AM, Dou Liyang wrote: As QEMU supports the memory-less node, it is possible that there is no RAM in the first numa node(also be

Re: [Qemu-devel] [PATCH] ACPI/unit-test: Add a testcase for RAM allocation in numa node

2017-10-20 Thread Eduardo Habkost
On Wed, Oct 18, 2017 at 11:50:32AM +0800, Dou Liyang wrote: > > At 10/18/2017 11:48 AM, Dou Liyang wrote: > > As QEMU supports the memory-less node, it is possible that there is > > no RAM in the first numa node(also be called as node0). eg: > > ... \ > > -m 128,slots=3,maxmem=1G \ > >

Re: [Qemu-devel] [PATCH] ACPI/unit-test: Add a testcase for RAM allocation in numa node

2017-10-17 Thread Dou Liyang
At 10/18/2017 11:48 AM, Dou Liyang wrote: As QEMU supports the memory-less node, it is possible that there is no RAM in the first numa node(also be called as node0). eg: ... \ -m 128,slots=3,maxmem=1G \ -numa node -numa node,mem=128M \ But, this makes it hard for QEMU to build a

[Qemu-devel] [PATCH] ACPI/unit-test: Add a testcase for RAM allocation in numa node

2017-10-17 Thread Dou Liyang
As QEMU supports the memory-less node, it is possible that there is no RAM in the first numa node(also be called as node0). eg: ... \ -m 128,slots=3,maxmem=1G \ -numa node -numa node,mem=128M \ But, this makes it hard for QEMU to build a known-to-work ACPI SRAT table. Only fixing it is not