[PATCH 0/2] virtio-serial: set up vqs on demand

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

 



From: Hongyong Zang <zanghongyong@xxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux