qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support


From: Rusty Russell
Subject: Re: [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support
Date: Thu, 03 Nov 2011 11:26:23 +1030
User-agent: Notmuch/0.6.1-1 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu)

On Wed, 2 Nov 2011 21:02:42 +0200, "Michael S. Tsirkin" <address@hidden> wrote:
> MSIX spec requires that device can be operated with
> all vectors masked, by polling.
> 
> So the following patchset (lightly tested) adds this
> ability: when driver reads ISR, the device
> recalls a pending notification, and returns
> pending status in the ISR register.
> 
> The polling driver can operate as follows:
> - map all VQs and config to the same vector
> - poll ISR to get status - this also flushes VQ updates to memory
> - handle config change or VQ event depending on ISR
> 
> Comments?

This seems sane to me...

Cheers,
Rusty.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]