On 06/19/2013 04:19 AM, Bandan Das wrote: > Eduardo Habkost <ehabk...@redhat.com> writes: > >> On Tue, Jun 18, 2013 at 11:20:37AM +0200, Paolo Bonzini wrote: >> [...] >>> Also, please use QemuOpts instead of yet another homegrown parser. >>> Eduardo, I think you had the most recent attempt to convert -numa to >>> QemuOpts? >> >> I had one, but I believe it is more complex than it should have been. I >> was creating a "numa-node" config section while keeping "-numa" just for >> compatbility, but I don't think we really need to do that. > > Ah, I was working on an update to Eduardo's earlier proposals for multiple > CPU ranges > and part of the change was to convert to QemuOpts. > > Probably needs more testing but posted it anyway since we are already > discussing this : > [PATCH v3] vl.c: Support multiple CPU ranges on -numa option > (hasn't shown up in the archives yet)
Here is the archive: http://thread.gmane.org/gmane.comp.emulators.qemu/217491 So, are you all ACK with this? And we are not considering compatible thing by using "cpu" instead of "cpus" here? Thanks, Wanlong Gao > > Bandan > >> If you want to take a look, the old attemp is at: >> git://github.com/ehabkost/qemu-hacks.git >> work/old-numa-node-config-section-experiment >