From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzeIO-0003ww-Ui for qemu-devel@nongnu.org; Tue, 24 Jun 2014 23:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzeIB-0000hA-Eq for qemu-devel@nongnu.org; Tue, 24 Jun 2014 23:54:52 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:38546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzeIA-0000gN-LU for qemu-devel@nongnu.org; Tue, 24 Jun 2014 23:54:39 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Jun 2014 13:54:36 +1000 From: Sam Bobroff Date: Wed, 25 Jun 2014 13:54:28 +1000 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/4] spapr: improve RTAS get_system_parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org 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