On Thu, Jan 19, 2017 at 09:45:11AM +0000, Daniel P. Berrange wrote: > On Wed, Jan 18, 2017 at 06:13:16PM +0100, Igor Mammedov wrote: > > > > Series introduces a new CLI option to allow mapping cpus to numa > > nodes using public properties [socket|core|thread]-ids instead of > > internal cpu-index and moving cpu<->node mapping from global bitmaps > > to PCMachineState struct. > > What is the benefit of this change to apps ? Obviously libvirt uses > the current syntax, but I'm not aware of what problems that has - why > would libvirt want to use this new syntax instead ?
The current interface is based on a "CPU index", and the mapping from CPU index to a specific CPU object can be non-trivial, especially if "-device *-cpu", CPU hotplug, or more complex CPU topologies are used. -- Eduardo