diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-24 15:06:52 +0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-06-28 14:02:14 -0500 |
commit | 12b7f57e2cfcd665cf5a21b4ae3c23b9361c5c05 (patch) | |
tree | 6e7142c025ee5cd1fff2464464abbb58a3b69ffc /cpus.c | |
parent | 8a27c6a067acd03cbd810585552df4818a4397f7 (diff) |
vl: convert -smp to qemu_opts_parse()
This also introduces a new suboption, "cpus=",
which is the default. So after this patch,
-smp n,sockets=y
is the same as
-smp cpus=n,sockets=y
(with "cpu" being some generic thing, referring to
either cores, or threads, or sockets, as before).
We still don't validate relations between different
numbers, for example it is still possible to say
-smp 1,sockets=10
and it will be accepted to mean sockets=1.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-id: 1372072012-30305-1-git-send-email-mjt@msgid.tls.msk.ru
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions