lguest: Remove 'network: no dma buffer!' warning
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jul 2008 14:58:36 +0000 (09:58 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:37 +0000 (09:58 +1000)
This warning can happen a lot under load, and it should be warnx not
warn anwyay.

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

index b2bbbb7f8c57266f0d91a76235e4b98e9e2bec14..0d1b0265d8e213478ce5262eb22cadd3fe624afa 100644 (file)
@@ -967,8 +967,6 @@ static bool handle_tun_input(int fd, struct device *dev)
                 * early, the Guest won't be ready yet.  Wait until the device
                 * status says it's ready. */
                /* FIXME: Actually want DRIVER_ACTIVE here. */
-               if (dev->desc->status & VIRTIO_CONFIG_S_DRIVER_OK)
-                       warn("network: no dma buffer!");
 
                /* Now tell it we want to know if new things appear. */
                dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;