Adding an IPMI BMC device to KVM

2012-05-04 Thread Corey Minyard
I've been working on adding an IPMI BMC as a virtual device under KVM. I'm doing this for two primary reasons, one to have a better test environment than what I have now for testing IPMI issues, and second to be able to better simulate a legacy environment for customers porting legacy software.

Re: Adding an IPMI BMC device to KVM

2012-05-06 Thread Avi Kivity
(copied qemu-devel) On 05/04/2012 10:10 PM, Corey Minyard wrote: > I've been working on adding an IPMI BMC as a virtual device under > KVM. I'm > doing this for two primary reasons, one to have a better test > environment than > what I have now for testing IPMI issues, and second to be able to be

Re: Adding an IPMI BMC device to KVM

2012-05-07 Thread Zhi Yong Wu
Then should we also emulate one AMM virtual device? one fsp virtual device? one IVE virtual device? On Sat, May 5, 2012 at 3:10 AM, Corey Minyard wrote: > I've been working on adding an IPMI BMC as a virtual device under KVM.  I'm > doing this for two primary reasons, one to have a better test en

Re: Adding an IPMI BMC device to KVM

2012-05-07 Thread Corey Minyard
On 05/07/2012 10:17 AM, Zhi Yong Wu wrote: Then should we also emulate one AMM virtual device? one fsp virtual device? one IVE virtual device? I have no idea what those things are, so I don't know. I don't think I know of any need for them. But vendors have all kinds of crazy names for IPMI

Fwd: Re: Adding an IPMI BMC device to KVM

2012-05-07 Thread Corey Minyard
Resending to the list, plan text only. Sorry about that... Original Message Subject:Re: Adding an IPMI BMC device to KVM Date: Mon, 07 May 2012 16:57:06 -0500 From: Corey Minyard Reply-To: miny...@acm.org To: Anthony Liguori CC: kvm@vger.kernel.org

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-06 Thread Anthony Liguori
On 05/06/2012 08:11 AM, Avi Kivity wrote: (copied qemu-devel) On 05/04/2012 10:10 PM, Corey Minyard wrote: Either way, is this interesting for including into KVM? Not kvm, but certainly it would make a good addition to qemu, which kvm then uses. Does anyone have any opinions on the possibl

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-06 Thread Avi Kivity
On 05/06/2012 05:35 PM, Anthony Liguori wrote: > On 05/06/2012 08:11 AM, Avi Kivity wrote: >> (copied qemu-devel) >> >> On 05/04/2012 10:10 PM, Corey Minyard wrote: >>> >>> Either way, is this interesting for including into KVM? >> >> Not kvm, but certainly it would make a good addition to qemu, wh

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Anthony Liguori
On 05/06/2012 09:39 AM, Avi Kivity wrote: On 05/06/2012 05:35 PM, Anthony Liguori wrote: On 05/06/2012 08:11 AM, Avi Kivity wrote: libvirt is essentially the BMC for a virtual guest. I would suggest looking at implementing an IPMI interface to libvirt and exposing it to the guest through a USB

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Avi Kivity
On 05/07/2012 05:30 PM, Anthony Liguori wrote: > On 05/06/2012 09:39 AM, Avi Kivity wrote: >> On 05/06/2012 05:35 PM, Anthony Liguori wrote: >>> On 05/06/2012 08:11 AM, Avi Kivity wrote: >>> libvirt is essentially the BMC for a virtual guest. I would suggest >>> looking at implementing an IPMI int

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Anthony Liguori
On 05/07/2012 09:44 AM, Avi Kivity wrote: On 05/07/2012 05:30 PM, Anthony Liguori wrote: On 05/06/2012 09:39 AM, Avi Kivity wrote: On 05/06/2012 05:35 PM, Anthony Liguori wrote: On 05/06/2012 08:11 AM, Avi Kivity wrote: libvirt is essentially the BMC for a virtual guest. I would suggest looki

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Avi Kivity
On 05/07/2012 05:55 PM, Anthony Liguori wrote: >>> For all intents and purposes, the BMC/RSA is a separate physical >>> machine. >> >> That's true for any other card on a machine. > > > It has a separate power source for all intents and purposes. If you > think of it in QOM terms, what connects th

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Anthony Liguori
On 05/07/2012 10:11 AM, Avi Kivity wrote: On 05/07/2012 05:55 PM, Anthony Liguori wrote: For all intents and purposes, the BMC/RSA is a separate physical machine. That's true for any other card on a machine. It has a separate power source for all intents and purposes. If you think of it in

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Corey Minyard
I think we are getting a little out of hand here, and we are mixing up concepts :). There are lots of things IPMI *can* do (including serial access, VGA snooping, LAN access, etc.) but I don't see any value it that. The main thing here is to emulate the interface to the guest. OOB management

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Dave Allan
FWIW, the idea of an IPMI interface to VMs was proposed for libvirt not too long ago. See: https://bugzilla.redhat.com/show_bug.cgi?id=815136 Dave On Mon, May 07, 2012 at 01:07:45PM -0500, Corey Minyard wrote: > I think we are getting a little out of hand here, and we are mixing > up concepts :

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Corey Minyard
On 05/07/2012 02:45 PM, Dave Allan wrote: FWIW, the idea of an IPMI interface to VMs was proposed for libvirt not too long ago. See: https://bugzilla.redhat.com/show_bug.cgi?id=815136 Well, it wouldn't be to hard to do. I already have working emulation code that does the IPMI LAN interface

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-07 Thread Anthony Liguori
On 05/07/2012 01:07 PM, Corey Minyard wrote: I think we are getting a little out of hand here, and we are mixing up concepts :). There are lots of things IPMI *can* do (including serial access, VGA snooping, LAN access, etc.) but I don't see any value it that. The main thing here is to emulate

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-18 Thread Stefan Hajnoczi
On Mon, May 7, 2012 at 3:30 PM, Anthony Liguori wrote: > On 05/06/2012 09:39 AM, Avi Kivity wrote: >> >> On 05/06/2012 05:35 PM, Anthony Liguori wrote: > So what's really the use case here?  Would an IPMI -> libvirt bridge get you > what you need?  I really think that's the best path forward. I'm

Re: [Qemu-devel] Adding an IPMI BMC device to KVM

2012-05-18 Thread Corey Minyard
On 05/18/2012 08:08 AM, Stefan Hajnoczi wrote: On Mon, May 7, 2012 at 3:30 PM, Anthony Liguori wrote: On 05/06/2012 09:39 AM, Avi Kivity wrote: On 05/06/2012 05:35 PM, Anthony Liguori wrote: So what's really the use case here? Would an IPMI -> libvirt bridge get you what you need? I really