From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoWrX-0005Z7-LT for qemu-devel@nongnu.org; Tue, 10 Jul 2012 05:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoWrV-0000rg-9J for qemu-devel@nongnu.org; Tue, 10 Jul 2012 05:36:07 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:42731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoWrV-0000rT-2m for qemu-devel@nongnu.org; Tue, 10 Jul 2012 05:36:05 -0400 Received: by yhoo21 with SMTP id o21so13141822yho.4 for ; Tue, 10 Jul 2012 02:36:03 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FFBF77E.5030705@redhat.com> Date: Tue, 10 Jul 2012 11:35:58 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1341861429-6297-1-git-send-email-minyard@acm.org> In-Reply-To: <1341861429-6297-1-git-send-email-minyard@acm.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] First shot at adding IPMI to qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: minyard@acm.org Cc: qemu-devel@nongnu.org Il 09/07/2012 21:17, minyard@acm.org ha scritto: > I had asked about getting an IPMI device into qemu and received some > interest, and it's useful to me, so I've done some work to add it. > The following patch set has a set of patches to add an IPMI KCS > device, and IPMI BT device, a built-in BMC (IPMI management controller), > and a way to attach an external BMC through a chardev. > > There was some discussion on whether to make the BMC internal or > external, but I went ahead and added both. The internal one is > fairly basic and not extensible, at least without adding code. > I've modified the OpenIPMI library simulator to work with the > external interface to allow it to receive connections from the > qemu external simulator with a fairly basic protocol. > > I've also added the ability for the OpenIPMI library to manage > a VM to power it on, power it off, reset it, and handle an IPMI > watchdog timer. So it looks quite like a real system. Instructions > for using it are in the OpenIPMI release candidate I uploaded to > https://sourceforge.net/projects/openipmi > > Since IPMI can advertise its presence via SMBIOS, I added a > way for a driver to add an SMBIOS entry. I also added a way > to query a free interrupt from the ISA bus, since the interrupt > is in the SMBIOS entry and nobody really cares which one is used. I provided some feedback in the individual patches, it shouldn't be a lot of work compared to what you have done already! It would be great if you could add a basic testcase using qtest, even if only for the internal interface, to ensure it doesn't bitrot. Paolo