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