Re: [Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-15 Thread Dou Liyang
Hi Igor, At 08/15/2017 04:04 PM, Igor Mammedov wrote: On Tue, 15 Aug 2017 09:26:46 +0800 Dou Liyang wrote: Hi Eduardo, At 08/14/2017 08:44 PM, Eduardo Habkost wrote: On Mon, Aug 14, 2017 at 06:11:11PM +0800, Dou Liyang wrote: Currently, Using the fisrt node without memory on the machine ma

Re: [Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-15 Thread Igor Mammedov
On Tue, 15 Aug 2017 09:26:46 +0800 Dou Liyang wrote: > Hi Eduardo, > > At 08/14/2017 08:44 PM, Eduardo Habkost wrote: > > On Mon, Aug 14, 2017 at 06:11:11PM +0800, Dou Liyang wrote: > >> Currently, Using the fisrt node without memory on the machine makes > >> QEMU unhappy. With this example co

Re: [Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-14 Thread Dou Liyang
Hi Eduardo, At 08/14/2017 08:44 PM, Eduardo Habkost wrote: On Mon, Aug 14, 2017 at 06:11:11PM +0800, Dou Liyang wrote: 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

Re: [Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-14 Thread Eduardo Habkost
On Mon, Aug 14, 2017 at 06:11:11PM +0800, Dou Liyang wrote: > 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,

Re: [Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-14 Thread Dou Liyang
I'm sorry, forgot to cc Michael S. Tsirkin At 08/14/2017 06:11 PM, Dou Liyang wrote: 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 \

[Qemu-devel] [PATCH] numa: Add a check whether the node0 has memory or not

2017-08-14 Thread Dou Liyang
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 node,nodeid=3 \ Guest reports "No NUMA configuration fo