Re: [Qemu-devel] Virtio Polling Mode

2013-09-30 Thread Hu Yaohui
Hi Anthony, Thanks for your reply! What I am looking for is that whether there is one mechanism that when virtio-blk host side finished the requests. Instead of using irq to notify the guest. Is there any other method to notify the guest (guest_notifer)? Thanks for your time! Best Wishes, Yaohui H

Re: [Qemu-devel] Virtio Polling Mode

2013-09-30 Thread Anthony Liguori
On Mon, Sep 30, 2013 at 2:00 PM, Hu Yaohui wrote: > Hi Anthony, > Thanks for your reply! Could you please be more specific about this? Which > flag, > You should read the virtio spec. It's all clearly spelled out there. > where can I find the research projects and papers that has virtio > ,es

Re: [Qemu-devel] Virtio Polling Mode

2013-09-30 Thread Hu Yaohui
Hi Jason, Thanks for your reply! I am more concerned with polling mode about virtio-blk right now. Later I will focus on polling mode on virtio-net. I don't know whether the polling mode is already existed for virtio-blk or we should implement it by ourselves if we need this feature. Thanks for you

Re: [Qemu-devel] Virtio Polling Mode

2013-09-30 Thread Hu Yaohui
Hi Anthony, Thanks for your reply! Could you please be more specific about this? Which flag, where can I find the research projects and papers that has virtio ,especiall virtio-blk, working in polling mode. Thanks for your time! Best Wishes, Yaohui Hu On Sat, Sep 28, 2013 at 8:54 AM, Anthony Lig

Re: [Qemu-devel] Virtio Polling Mode

2013-09-29 Thread Jason Wang
On 09/28/2013 02:56 AM, Hu Yaohui wrote: > Hi All, > I am wondering whether virtio has provided polling mode already. > Instead of sending a event from guest to host through eventfd on guest > side and inject an interrupt into guest on host side to notify each > other? Could both sides keep polling

Re: [Qemu-devel] Virtio Polling Mode

2013-09-28 Thread Anthony Liguori
Hi Yaohui, Yes, there is a flag associated both with the used and the avail rings to disable notifications. This can be used to implement polling. There have been multiple research projects/papers that have experimented with polling. Regards, Anthony Liguori On Fri, Sep 27, 2013 at 1:56 PM,