qemu-devel
[Top][All Lists]
Advanced

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

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


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support
Date: Wed, 2 Nov 2011 21:02:42 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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?

-- 
1.7.5.53.gc233e



reply via email to

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