« Previous | Next » 

Revision 12b7f57e

ID12b7f57e2cfcd665cf5a21b4ae3c23b9361c5c05

Added by Michael Tokarev almost 11 years ago

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 <>
Message-id:
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences