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

2017-04-24 Thread Igor Mammedov
On Mon, 24 Apr 2017 16:52:48 +0800 He Chen wrote: > On Fri, Apr 21, 2017 at 11:53:01AM +0200, Igor Mammedov wrote: > > On Fri, 21 Apr 2017 15:32:15 +0800 > > He Chen wrote: > > > ... > > > +static void validate_numa_distance(void) > > > +{ > > > +int src, dst; > > > +bool is_asymmetri

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

2017-04-24 Thread He Chen
On Fri, Apr 21, 2017 at 11:53:01AM +0200, Igor Mammedov wrote: > On Fri, 21 Apr 2017 15:32:15 +0800 > He Chen wrote: > ... > > +static void validate_numa_distance(void) > > +{ > > +int src, dst; > > +bool is_asymmetrical = false; > > + > > +for (src = 0; src < nb_numa_nodes; src++) {

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

2017-04-21 Thread Igor Mammedov
On Fri, 21 Apr 2017 15:32:15 +0800 He Chen wrote: > This patch is going to add SLIT table support in QEMU, and provides > additional option `dist` for command `-numa` to allow user set vNUMA > distance by QEMU command. > > With this patch, when a user wants to create a guest that contains > seve

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

2017-04-21 Thread He Chen
This patch is going to add SLIT table support in QEMU, and provides additional option `dist` for command `-numa` to allow user set vNUMA distance by QEMU command. With this patch, when a user wants to create a guest that contains several vNUMA nodes and also wants to set distance among those nodes