From: Heinz Graalfs Date: Mon, 28 Oct 2013 23:09:48 +0000 (+1030) Subject: virtio_ring: let virtqueue_{kick()/notify()} return a bool X-Git-Tag: v3.13-rc1~82^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b1bf7cb673ade0ab5c75f200dce911d9fb91c21;p=pandora-kernel.git virtio_ring: let virtqueue_{kick()/notify()} return a bool virtqueue_{kick()/notify()} should exploit the new host notification API. If the notify call returned with a negative value the host kick failed (e.g. a kick triggered after a device was hot-unplugged). In this case the virtqueue is set to 'broken' and false is returned, otherwise true. Signed-off-by: Heinz Graalfs Signed-off-by: Rusty Russell --- Reading git-diff-tree failed