vhost: fix up after tx timer removal
PATCH 1/1 vhost: fix up after tx timer removal
If someone wants to combine tx timer removal patch with vhost patch, the following trivial fixup will be needed in qemu.
Signed-off-by Michael S. Tsirkin <[email protected]>
--- hw/virtio-net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/virtio-net.c +1 -1
@@ -627,7 +627,7 @@ static int virtio_net_flush_tx(VirtIONet *n, VirtQueue *vq, int enable_notify)int has_vnet_hdr =0 ;#endif if (n->vhost_device) -return ; +return num_packets;if (!(n->vdev.status &VIRTIO_CONFIG_S_DRIVER_OK ))return num_packets;
Signature · 1 line
1.6.2.5