Received: from eggs.gnu.org ([2001:4830:134:3::10]:36953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNhoM-0004FW-U0 for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNhoH-0007AL-7R for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:06 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:35101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNhoG-00079x-TO for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:01 -0500 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Jan 2016 14:07:57 -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 E76CB17D8066 for ; Mon, 25 Jan 2016 14:08:02 +0000 (GMT) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0PE7tdI65142944 for ; Mon, 25 Jan 2016 14:07:55 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0PD7utt001523 for ; Mon, 25 Jan 2016 06:07:56 -0700 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Mon, 25 Jan 2016 15:07:25 +0100 Message-Id: <1453730855-29302-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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Greg Kurz , qemu-devel@nongnu.org, "Michael S. Tsirkin" Hi, Here are a few patches adding a couple of IPMI commands to the BMC simulator. Changes since v2: - splitted a bit more the patchset to separate fixes - moved forward patch "ipmi: fix SDR length value" as it is a fix - changed sdr_add_entry() prototype to use struct a ipmi_sdr_header Changes since v1: - Added IPMI to ppc. We will need it for the future powernv platform. - Added some initial cleanups - Kept FRU, the API extensions to expose SDR and generate events for later, may be as an extension of this patchset. (Work in progress) Based on 3db34bf64ab4 and also available here : https://github.com/legoater/qemu/commits/ipmi Thanks, Cédric Le Goater (10): ppc: add IPMI support ipmi: replace goto by a return statement ipmi: replace *_MAXCMD defines ipmi: cleanup error_report messages ipmi: fix SDR length value ipmi: introduce a struct ipmi_sdr_compact ipmi: add get and set SENSOR_TYPE commands ipmi: add GET_SYS_RESTART_CAUSE chassis command ipmi: add ACPI power and GUID commands ipmi: add SET_SENSOR_READING command (tentative try) default-configs/ppc64-softmmu.mak | 4 + hw/ipmi/ipmi_bmc_sim.c | 486 ++++++++++++++++++++++++++------------ include/hw/ipmi/ipmi.h | 45 ++++ 3 files changed, 389 insertions(+), 146 deletions(-) -- 2.1.4