提交 9254926f 编写于 作者: R Rusty Russell

lguest: Remove 'network: no dma buffer!' warning

This warning can happen a lot under load, and it should be warnx not
warn anwyay.
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 aa124984
...@@ -967,8 +967,6 @@ static bool handle_tun_input(int fd, struct device *dev) ...@@ -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 * early, the Guest won't be ready yet. Wait until the device
* status says it's ready. */ * status says it's ready. */
/* FIXME: Actually want DRIVER_ACTIVE here. */ /* 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. */ /* Now tell it we want to know if new things appear. */
dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY; dev->vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册