Re: [Qemu-devel] [PATCH v2] numa: numa nodeid need not be sequential

2019-08-07 Thread David Gibson
On Tue, Aug 06, 2019 at 09:29:45PM +1000, Daniel Black wrote: > Replace all node_id assumptions with lookups from > machinestate->numa_state->nodes[] > and remove aspects that assume a sequential numbering of nodes. This enables > non-sequential NUMA node number topoligies to be created. > > Defa

Re: [Qemu-devel] [PATCH v2] numa: numa nodeid need not be sequential

2019-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2019 at 09:29:45PM +1000, Daniel Black wrote: > Replace all node_id assumptions with lookups from > machinestate->numa_state->nodes[] > and remove aspects that assume a sequential numbering of nodes. This enables > non-sequential NUMA node number topoligies to be created. > > Defa

[Qemu-devel] [PATCH v2] numa: numa nodeid need not be sequential

2019-08-06 Thread Daniel Black
Replace all node_id assumptions with lookups from machinestate->numa_state->nodes[] and remove aspects that assume a sequential numbering of nodes. This enables non-sequential NUMA node number topoligies to be created. Default assignments of CPU->nodeid (get_default_cpu_node_id) now return a node