From: Rusty Russell Date: Sat, 13 Jun 2009 04:27:01 +0000 (-0600) Subject: lguest: remove invalid interrupt forcing logic. X-Git-Tag: v2.6.31-rc1~368^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed