From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae1CS-0000zm-2h for qemu-devel@nongnu.org; Thu, 10 Mar 2016 09:04:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae1CO-0003W2-09 for qemu-devel@nongnu.org; Thu, 10 Mar 2016 09:04:23 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:48274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae1CN-0003Vg-Mg for qemu-devel@nongnu.org; Thu, 10 Mar 2016 09:04:19 -0500 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 10 Mar 2016 14:04:18 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5598617D8056 for ; Thu, 10 Mar 2016 14:04:44 +0000 (GMT) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2AE4FF654919202 for ; Thu, 10 Mar 2016 14:04:15 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2AE4DSN005418 for ; Thu, 10 Mar 2016 09:04:14 -0500 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Thu, 10 Mar 2016 15:03:53 +0100 Message-Id: <1457618643-32310-1-git-send-email-clg@fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 00/10] ipmi: a couple of enhancements to the BMC simulator (round 2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: Marcel Apfelbaum , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , qemu-devel@nongnu.org, "Michael S. Tsirkin" Hello, The first patches are cleanups and prepare ground for an extension of the BMC simulator providing a SDR loader using a file. A simple FRU support comes next. Changes since v2: - changed 'struct rsp_buffer' to 'RspBuffer' - reworked ipmi_sim_handle_command() to introduce a ipmi_get_handler() helper. Changes since v1: - Added initial cleanups removing the macros implicitely making use of local variables in the command handlers - Fixed property naming - Kept the API extensions to expose SDR and generate events for later Based on 9c279bec754a and also available here : https://github.com/legoater/qemu/commits/ipmi Thanks, C. Cédric Le Goater (10): ipmi: remove IPMI_CHECK_CMD_LEN() macro ipmi: replace IPMI_ADD_RSP_DATA() macro with inline helpers ipmi: remove IPMI_CHECK_RESERVATION() macro ipmi: add rsp_buffer_set_error() helper ipmi: add a realize function to the device class ipmi: use a function to initialize the SDR table ipmi: remove the need of an ending record in the SDR table ipmi: add some local variables in ipmi_sdr_init ipmi: use a file to load SDRs ipmi: provide support for FRUs hw/ipmi/ipmi_bmc_sim.c | 855 ++++++++++++++++++++++++++++--------------------- qemu-options.hx | 15 +- 2 files changed, 506 insertions(+), 364 deletions(-) -- 2.1.4