qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFT 0/4] Don't start virtqueues that are not enabled for v


From: Jason Wang
Subject: [Qemu-devel] [RFT 0/4] Don't start virtqueues that are not enabled for vhost
Date: Fri, 22 Mar 2019 17:28:02 +0800

Hi:

This series try to avoid starting virtqueue that is not enabled. This
is done through querying it through a bus specific way and skip the
virtqueues if not enabled when starting vhost virtqueues.

Only PCI is implemented, maybe it's better to move the enable flag to
virito genenic virtqueue structure.

Yuri, Could you please to test this series to see if it solves the
issues when using windows driver?

Thanks

Jason Wang (4):
  virtio-bus: introduce a new method for querying the queue status
  virtio-pci: set enabled for legacy device
  virtio-pci: implement queue_enabled
  vhost_net: don't start vhost for the virtqueue that is not enabled

 hw/virtio/vhost.c              | 11 +++++++++++
 hw/virtio/virtio-pci.c         | 12 +++++++++++-
 include/hw/virtio/virtio-bus.h |  4 ++++
 3 files changed, 26 insertions(+), 1 deletion(-)

-- 
2.19.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]