qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/6] spapr: add "compat" machine option
@ 2013-11-11  7:44 Alexey Kardashevskiy
  2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 1/6] cpu: add suboptions support Alexey Kardashevskiy
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Alexey Kardashevskiy @ 2013-11-11  7:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexey Kardashevskiy, qemu-ppc, Alexander Graf,
	Andreas Färber

The further I go, more questions I get.

Here are 6 patches.

The first three is what I would like to have in QEMU to support "compat"
option for a CPU. The option now accepts "power6"/"power7" as after all
we will limit number of threads per core (not in this series though) and
since 2.05 does not limit number of threads at all, referring to actual
CPU models seems right.

The last three is what I would suggest doing if we needed ability to
enable/disable CPU features the way x86 does this. I used "VSX" as an example
but this is just an example so "-cpu host,-vsx,+vsx,vsx=on" works.
Using this, I suspect I could try converting x86's parser for "-cpu",
would it work?


btw I am sure there must be macro like BITNR (convert mask with 1 bit set
to a number of the bit which is set) but I failed to find it. What did I miss?


Please, comment. Thanks.


Alexey Kardashevskiy (6):
  cpu: add suboptions support
  target-ppc: make use of new -cpu suboptions handling
  target-ppc: add "compat" CPU option
  qemu-option: support +foo/-foo command line agruments
  bitops: add BITNR macro
  target-ppc: demonstrate new "vsx" property

 hw/ppc/spapr.c              | 13 +++++++-
 include/qemu/bitops.h       | 12 ++++++++
 include/qom/cpu.h           | 29 ++++++++++++++++++
 include/sysemu/sysemu.h     |  1 +
 qom/cpu.c                   | 27 +++++++++++++++++
 target-ppc/cpu-models.h     | 10 +++++++
 target-ppc/cpu.h            |  4 +++
 target-ppc/translate_init.c | 73 +++++++++++++++++++++++++++++++++++++++++++++
 util/qemu-option.c          |  6 ++++
 vl.c                        | 42 ++++++++++++++++++++++++++
 10 files changed, 216 insertions(+), 1 deletion(-)

-- 
1.8.4.rc4

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2013-11-30 13:09 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11  7:44 [Qemu-devel] [PATCH v3 0/6] spapr: add "compat" machine option Alexey Kardashevskiy
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 1/6] cpu: add suboptions support Alexey Kardashevskiy
2013-11-30 10:10   ` Alexey Kardashevskiy
2013-11-30 11:00     ` Paolo Bonzini
2013-11-30 13:08       ` Alexey Kardashevskiy
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 2/6] target-ppc: make use of new -cpu suboptions handling Alexey Kardashevskiy
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 3/6] target-ppc: add "compat" CPU option Alexey Kardashevskiy
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 4/6] qemu-option: support +foo/-foo command line agruments Alexey Kardashevskiy
2013-11-11 12:41   ` Andreas Färber
2013-11-11 12:52     ` Jan Kiszka
2013-11-11 13:23       ` Andreas Färber
2013-11-11 14:25     ` Igor Mammedov
2013-11-11 23:49       ` Alexey Kardashevskiy
2013-11-12  9:58         ` Igor Mammedov
2013-11-12 12:39           ` Alexey Kardashevskiy
2013-11-12 12:45             ` Andreas Färber
2013-11-13  1:51               ` Alexey Kardashevskiy
2013-11-13  9:29               ` Paolo Bonzini
2013-11-12 13:11             ` Igor Mammedov
2013-11-13  2:07               ` Alexey Kardashevskiy
2013-11-13 10:38                 ` Igor Mammedov
2013-11-13  9:20           ` Paolo Bonzini
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 5/6] bitops: add BITNR macro Alexey Kardashevskiy
2013-11-11 11:57   ` Andreas Färber
2013-11-11 12:09     ` Alexey Kardashevskiy
2013-11-13  2:40     ` Alexey Kardashevskiy
2013-11-13 12:04       ` Paolo Bonzini
2013-11-14  5:51         ` Alexey Kardashevskiy
2013-11-14  8:54           ` Paolo Bonzini
2013-11-11  7:44 ` [Qemu-devel] [PATCH v3 6/6] target-ppc: demonstrate new "vsx" property Alexey Kardashevskiy
2013-11-11 13:31   ` Andreas Färber
2013-11-14  5:20     ` Alexey Kardashevskiy
2013-11-14 16:04       ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).