Received: from eggs.gnu.org ([2001:4830:134:3::10]:51721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMItB-0005PT-CE for qemu-devel@nongnu.org; Thu, 21 Jan 2016 12:19:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMIt7-0005qd-Ct for qemu-devel@nongnu.org; Thu, 21 Jan 2016 12:19:17 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:32772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMIt7-0005q2-2R for qemu-devel@nongnu.org; Thu, 21 Jan 2016 12:19:13 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Jan 2016 17:19:11 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id BAF041B08069 for ; Thu, 21 Jan 2016 17:19:13 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0LHJ85957737302 for ; Thu, 21 Jan 2016 17:19:08 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0LHJ7V9000969 for ; Thu, 21 Jan 2016 10:19:08 -0700 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Thu, 21 Jan 2016 18:18:45 +0100 Message-Id: <1453396734-9363-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 v2 0/9] 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, Marcel Apfelbaum , "Michael S. Tsirkin" Hi, Here are a few patches adding a couple of IPMI commands to the BMC simulator. 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 (9): ppc: add IPMI support ipmi: replace goto by a return statement ipmi: replace *_MAXCMD defines ipmi: introduce a struct ipmi_sdr_compact ipmi: fix SDR length value 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 | 479 ++++++++++++++++++++++++++------------ include/hw/ipmi/ipmi.h | 45 ++++ 3 files changed, 385 insertions(+), 143 deletions(-) -- 2.1.4