Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-09-04 Thread Dou Liyang
Hi Igor, At 09/04/2017 07:11 PM, Igor Mammedov wrote: [...] +if (mem_base <= HOLE_640K_START && +next_base > HOLE_640K_START) { +mem_len -= next_base - HOLE_640K_START; +if (mem_len > 0) { +numamem = acpi_data_push(table_data, sizeof

Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-09-04 Thread Igor Mammedov
On Mon, 4 Sep 2017 18:16:31 +0800 Dou Liyang wrote: > At 09/04/2017 05:39 PM, Igor Mammedov wrote: > > On Thu, 31 Aug 2017 20:04:26 +0800 > > Dou Liyang wrote: > > > >> From: Eduardo Habkost > >> > >> Currently, Using

Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-09-04 Thread Dou Liyang
At 09/04/2017 05:39 PM, Igor Mammedov wrote: On Thu, 31 Aug 2017 20:04:26 +0800 Dou Liyang wrote: From: Eduardo Habkost Currently, Using the fisrt node without memory on the machine makes QEMU unhappy. With this example command line: ... \

Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-09-04 Thread Igor Mammedov
On Thu, 31 Aug 2017 20:04:26 +0800 Dou Liyang wrote: > From: Eduardo Habkost > > Currently, Using the fisrt node without memory on the machine makes > QEMU unhappy. With this example command line: > ... \ > -m 1024M,slots=4,maxmem=32G \ >

Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-08-31 Thread Dou Liyang
Hi, Eduardo At 09/01/2017 05:36 AM, Eduardo Habkost wrote: On Thu, Aug 31, 2017 at 08:04:26PM +0800, Dou Liyang wrote: From: Eduardo Habkost Currently, Using the fisrt node without memory on the machine makes QEMU unhappy. With this example command line: ... \ -m

Re: [Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-08-31 Thread Eduardo Habkost
On Thu, Aug 31, 2017 at 08:04:26PM +0800, Dou Liyang wrote: > From: Eduardo Habkost > > Currently, Using the fisrt node without memory on the machine makes > QEMU unhappy. With this example command line: > ... \ > -m 1024M,slots=4,maxmem=32G \ > -numa node,nodeid=0 \ >

[Qemu-devel] [PATCH v5 1/3] hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM

2017-08-31 Thread Dou Liyang
From: Eduardo Habkost Currently, Using the fisrt node without memory on the machine makes QEMU unhappy. With this example command line: ... \ -m 1024M,slots=4,maxmem=32G \ -numa node,nodeid=0 \ -numa node,mem=1024M,nodeid=1 \ -numa node,nodeid=2 \ -numa