]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
vcpu: improve vcpu support in qemu command line
authorEric Blake <eblake@redhat.com>
Wed, 29 Sep 2010 21:58:47 +0000 (15:58 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 19 Oct 2010 16:06:33 +0000 (10:06 -0600)
commitd67c189e80e6aef7adf13e5763365555cfc1a02a
tree29f50bafda0ea02e142d6513727cf03d363840c7
parent6c9e6b956453d0f0c4ff542ef8a184d663a39266
vcpu: improve vcpu support in qemu command line

* src/qemu/qemu_conf.c (qemuParseCommandLineSmp): Distinguish
between vcpus and maxvcpus, for new enough qemu.
* tests/qemuargv2xmltest.c (mymain): Add new test.
* tests/qemuxml2argvtest.c (mymain): Likewise.
* tests/qemuxml2xmltest.c (mymain): Likewise.
* tests/qemuxml2argvdata/qemuxml2argv-smp.args: New file.
src/qemu/qemu_conf.c
tests/qemuargv2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-smp.args [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c