kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio-serial: set up vqs on demand
@ 2012-01-12  1:20 zanghongyong
  2012-01-12  1:20 ` [PATCH 1/2] virtio-pci: add setup_vqs flag in vp_try_to_find_vqs zanghongyong
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: zanghongyong @ 2012-01-12  1:20 UTC (permalink / raw)
  To: kvm
  Cc: rusty, amit.shah, aliguori, xiaowei.yang, hanweidong, wusongwei,
	jiangningyu, Hongyong Zang

From: Hongyong Zang <zanghongyong@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(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-08  7:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12  1:20 [PATCH 0/2] virtio-serial: set up vqs on demand zanghongyong
2012-01-12  1:20 ` [PATCH 1/2] virtio-pci: add setup_vqs flag in vp_try_to_find_vqs zanghongyong
2012-02-01  8:14   ` Amit Shah
2012-02-01  9:54   ` Michael S. Tsirkin
2012-02-03  3:56     ` Rusty Russell
2012-01-12  1:20 ` [PATCH 2/2] virtio-serial: setup_port_vq when adding port zanghongyong
2012-02-01  8:12   ` Amit Shah
2012-02-01  9:32     ` Zang Hongyong
2012-02-01  9:40 ` [PATCH 0/2] virtio-serial: set up vqs on demand Michael S. Tsirkin
2013-04-08  7:51 ` Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).