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 Hu On Mon, Sep 30, 2013 at 6:05 PM, Anthony Liguori <anth...@codemonkey.ws>wrote: > On Mon, Sep 30, 2013 at 2:00 PM, Hu Yaohui <loki2...@gmail.com> 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 >> ,especiall virtio-blk, working in polling mode. >> > > Look for papers on the ELVIS project. > > Regards, > > Anthony Liguori > > >> Thanks for your time! >> >> Best Wishes, >> Yaohui Hu >> >> >> On Sat, Sep 28, 2013 at 8:54 AM, Anthony Liguori >> <anth...@codemonkey.ws>wrote: >> >>> 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, Hu Yaohui <loki2...@gmail.com> 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 the Vring to communicate with each other? >>>> Thanks for your time! >>>> >>>> Best Wishes, >>>> Yaohui >>>> >>> >>> >> >