Skip to content

Commit

Permalink
lguest: Remove 'network: no dma buffer!' warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell committed Jul 28, 2008
1 parent aa12498 commit 9254926
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Documentation/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9254926

Please sign in to comment.