From: Hongyong Zang <zanghongy...@huawei.com>

Virtio-serial set up (max_ports+1)*2 vqs when device probes, but may not all 
io_ports are used.
These patches create vqs of port0 and control port when probing the device, 
then 
create io-vqs when called add_port().

Hongyong Zang (2):
  virtio-pci: add setup_vqs flag in vp_try_to_find_vqs
  virtio-serial: setup_port_vq when adding port

 drivers/char/virtio_console.c |   65 ++++++++++++++++++++++++++++++++++++++--
 drivers/virtio/virtio_pci.c   |   17 ++++++++--
 2 files changed, 74 insertions(+), 8 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to