Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-05 Thread He Chen
On Mon, Apr 03, 2017 at 01:58:34PM -0500, Eric Blake wrote: > On 04/03/2017 03:38 AM, Andrew Jones wrote: > > On Sat, Apr 01, 2017 at 06:25:26PM +0800, He Chen wrote: > >> Current, QEMU does not provide a clear command to set vNUMA distance for > >> guest although we already have `-numa` command to

Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-05 Thread He Chen
On Mon, Apr 03, 2017 at 10:38:51AM +0200, Andrew Jones wrote: > On Sat, Apr 01, 2017 at 06:25:26PM +0800, He Chen wrote: > > Current, QEMU does not provide a clear command to set vNUMA distance for > > guest although we already have `-numa` command to set vNUMA nodes. > > > > vNUMA distance makes

Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-03 Thread Eric Blake
On 04/03/2017 03:38 AM, Andrew Jones wrote: > On Sat, Apr 01, 2017 at 06:25:26PM +0800, He Chen wrote: >> Current, QEMU does not provide a clear command to set vNUMA distance for >> guest although we already have `-numa` command to set vNUMA nodes. >> >> +++ b/qapi-schema.json >> @@ -5644,10 +5644

Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-03 Thread Andrew Jones
On Sat, Apr 01, 2017 at 06:25:26PM +0800, He Chen wrote: > Current, QEMU does not provide a clear command to set vNUMA distance for > guest although we already have `-numa` command to set vNUMA nodes. > > vNUMA distance makes sense in certain scenario. > But now, if we create a guest that has 4 vN

Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-02 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 1491042326-24335-1-git-send-email-he.c...@linux.intel.com Subject: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes === TEST SCRIPT BEGIN

[Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-01 Thread He Chen
Current, QEMU does not provide a clear command to set vNUMA distance for guest although we already have `-numa` command to set vNUMA nodes. vNUMA distance makes sense in certain scenario. But now, if we create a guest that has 4 vNUMA nodes, when we check NUMA info via `numactl -H`, we will see: