Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-15 Thread Sinha, Ani
On Sep 15, 2011, at 4:42 AM, Stefan Hajnoczi wrote: > On Tue, Sep 13, 2011 at 6:35 PM, Sinha, Ani wrote: >> Makes sense? > > I'm still not sure what the point of multiplexing host IPMI into > guests is. The guest should not be able to power off the host. It > shouldn't be able to mess with the

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-15 Thread Stefan Hajnoczi
On Tue, Sep 13, 2011 at 6:35 PM, Sinha, Ani wrote: > Makes sense? I'm still not sure what the point of multiplexing host IPMI into guests is. The guest should not be able to power off the host. It shouldn't be able to mess with the watchdog timer. It may wish to read sensors but do they even m

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-13 Thread Sinha, Ani
>> >> We are trying to paravirtualize the IPMI device (/dev/ipmi0). > > From http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface: > "An implementation of IPMI version 1.5 can communicate via a direct > serial connection or via a side-band local area network (LAN) > connection to

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-13 Thread Stefan Hajnoczi
On Mon, Sep 12, 2011 at 7:31 PM, Sinha, Ani wrote: > > On Sep 11, 2011, at 6:34 AM, Stefan Hajnoczi wrote: > >> On Fri, Sep 09, 2011 at 07:45:17PM -0500, Sinha, Ani wrote: >>> So I am writing a virtIO driver for a device that supports blocking calls >>> like poll() etc. Now the front end paravirt

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-13 Thread Stefan Hajnoczi
On Mon, Sep 12, 2011 at 10:05 PM, Sinha, Ani wrote: > > On Sep 11, 2011, at 6:34 AM, Stefan Hajnoczi wrote: > >> >> You may find these posts I wrote helpful, they explain vcpu threads and >> the I/O thread: >> http://blog.vmsplice.net/2011/03/qemu-internals-big-picture-overview.html >> http://blog

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-12 Thread Sinha, Ani
On Sep 11, 2011, at 6:34 AM, Stefan Hajnoczi wrote: > > You may find these posts I wrote helpful, they explain vcpu threads and > the I/O thread: > http://blog.vmsplice.net/2011/03/qemu-internals-big-picture-overview.html > http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-12 Thread Sinha, Ani
On Sep 11, 2011, at 6:34 AM, Stefan Hajnoczi wrote: > On Fri, Sep 09, 2011 at 07:45:17PM -0500, Sinha, Ani wrote: >> So I am writing a virtIO driver for a device that supports blocking calls >> like poll() etc. Now the front end paravirtualized driver mirrors the >> request to the backend "host

Re: [Qemu-devel] qemu virtIO blocking operation - question

2011-09-11 Thread Stefan Hajnoczi
On Fri, Sep 09, 2011 at 07:45:17PM -0500, Sinha, Ani wrote: > So I am writing a virtIO driver for a device that supports blocking calls > like poll() etc. Now the front end paravirtualized driver mirrors the request > to the backend "host" qemu process that then does the actual call on the host

[Qemu-devel] qemu virtIO blocking operation - question

2011-09-09 Thread Sinha, Ani
Hey guys, So I am writing a virtIO driver for a device that supports blocking calls like poll() etc. Now the front end paravirtualized driver mirrors the request to the backend "host" qemu process that then does the actual call on the host kernel on behalf of the guest. Now my question is, when