qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter
@ 2014-06-25  3:54 Sam Bobroff
  2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 1/4] spapr: Add rtas_st_buffer utility function Sam Bobroff
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Sam Bobroff @ 2014-06-25  3:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc


This series of patches improves QEMU's emulation of the RTAS call
"ibm,get-system-parameter" by adding support for the "UUID" and "SPLPAR
Characteristics" parameters as well as fixing a problem in the the
implementation of the "Platform Processor Diagnostics Run Mode" parameter.

It also improves the surrounding code a little to support the addition of
additional system parameters.

Patchset changelog:

v2:
    * Reordered patches to correct DIAGNOSTICS_RUN_MODE earlier so
    that new RTAS constants can be added at the same time and all of
    them moved out into spapr.h.
    * Use g_strdup_printf()/g_free() rather than snprintf() to a stack array.
    * Use cpu_physical_memory_write() instead of looping over each
    byte.

Sam Bobroff (4):
  spapr: Add rtas_st_buffer utility function
  spapr: Fix RTAS sysparm DIAGNOSTICS_RUN_MODE
  spapr: Add RTAS sysparm UUID
  spapr: Add RTAS sysparm SPLPAR Characteristics

 hw/ppc/spapr_rtas.c    | 30 +++++++++++++++++++++---------
 include/hw/ppc/spapr.h | 28 ++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 9 deletions(-)

-- 
1.9.0

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

end of thread, other threads:[~2014-06-25 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25  3:54 [Qemu-devel] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter Sam Bobroff
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 1/4] spapr: Add rtas_st_buffer utility function Sam Bobroff
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 2/4] spapr: Fix RTAS sysparm DIAGNOSTICS_RUN_MODE Sam Bobroff
2014-06-25 11:10   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 3/4] spapr: Add RTAS sysparm UUID Sam Bobroff
2014-06-25  3:54 ` [Qemu-devel] [PATCH v2 4/4] spapr: Add RTAS sysparm SPLPAR Characteristics Sam Bobroff
2014-06-25 11:12 ` [Qemu-devel] [Qemu-ppc] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter Alexander Graf
2014-06-25 23:38   ` Sam Bobroff

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).