Re: [Xen-devel] [PATCH for-4.6 v3 1/3] xl: fix vNUMA vdistance parsing

2015-08-20 Thread Ian Campbell
On Mon, 2015-08-17 at 19:56 +0100, Wei Liu wrote: > We should parse the output from splitting function, not the original > string, otherwise the parsed result is wrong. > > For example: > > vnuma = [ [...,"vdistance=10,20",...], > [...,"vdistance=20,10",...] ] > > Before this change, v

[Xen-devel] [PATCH for-4.6 v3 1/3] xl: fix vNUMA vdistance parsing

2015-08-17 Thread Wei Liu
We should parse the output from splitting function, not the original string, otherwise the parsed result is wrong. For example: vnuma = [ [...,"vdistance=10,20",...], [...,"vdistance=20,10",...] ] Before this change, vdistance from node 0 to all nodes (including itself) was 10 and vdis