summaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-06-13 08:27:01 +0400
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 16:57:02 +0400
commitebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c (patch)
treeb5f0631172db5d97e0a5c6b8a6bc0f83c4a4eed5 /drivers/lguest
parenta6c372de6e4b9a8188b66badcee3e3792eccdd26 (diff)
downloadlinux-ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c.tar.xz
lguest: remove invalid interrupt forcing logic.
20887611523e749d99cc7d64ff6c97d27529fbae (lguest: notify on empty) introduced lguest support for the VIRTIO_F_NOTIFY_ON_EMPTY flag, but in fact it turned on interrupts all the time. Because we always process one buffer at a time, the inflight count is always 0 when call trigger_irq and so we always ignore VRING_AVAIL_F_NO_INTERRUPT from the Guest. It should be looking to see if there are more buffers in the Guest's queue: if it's empty, then we force an interrupt. This makes little difference, since we usually have an empty queue; but that's the subject of another patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions