« Previous | Next » 

Revision 89d62be9

ID89d62be9f4fb538db7f919a2be7df2544ffc02c5

Added by Michael S. Tsirkin over 11 years ago

virtio-pci: don't poll masked vectors

At the moment, when irqfd is in use but a vector is masked,
qemu will poll it and handle vector masks in userspace.
Since almost no one ever looks at the pending bits,
it is better to defer this until pending bits
are actually read.
Implement this optimization using the new poll notifier.

Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences