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

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

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-08 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 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-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 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 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 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 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: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/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-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-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
(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