lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 04:26:47 +0000 (22:26 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Sep 2009 12:56:47 +0000 (22:26 +0930)
commitca60a42c9be41c07ebcc2ec8c43dd1be53f147bf
treeca7ef0c06dc20d0529c9c2edfb22a2925edeb721
parent6c189d8312246af776c2587c233d6afcf3714438
lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY

VIRTIO_F_NOTIFY_ON_EMPTY indicates to the Guest that we will hit them with
an interrupt every time the xmit queue is emptied.

Because it results in lots of tx interrupts, modern Guests probably don't
want it, so let's only force it when they accept the option.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c