20.06.2013 13:52, Paolo Bonzini wrote: > Il 20/06/2013 11:30, Igor Mammedov ha scritto: >>>> libvirt uses the "cpus" option already, so we have to keep it working. >> Sure, we can leave it as it's now for some time while a new interface is >> introduced/adopted. And than later deprecate "cpus". > > So, you used a new name because the new behavior of "-numa > node,cpus=1-2,cpus=3-4" would be incompatible with the old.
BTW, as I tried to touch exactly the same place yesterday (trying to convert it to QemuOpts) -- what does this "node" mean? For example, with -device [type=]devicetype,foo=bar,xzy=abc this creates a new device for each "invocation" of option. But what does this `-numa node' mean? Can there be anything else besides node? Why it is needed/used for? This -numa option is the last one which uses the old option parsing mechanism (there's also some smbios-related thing but it's simple to convert, I almost got it ready yesterday), but it is rather non-standard. Thanks, /mjt