kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: zanghongyong@huawei.com
To: kvm@vger.kernel.org
Cc: rusty@rustcorp.com.au, amit.shah@redhat.com, aliguori@us.ibm.com,
	xiaowei.yang@huawei.com, hanweidong@huawei.com,
	wusongwei@huawei.com, jiangningyu@huawei.com,
	Hongyong Zang <zanghongyong@huawei.com>
Subject: [PATCH 0/2] virtio-serial: set up vqs on demand
Date: Thu, 12 Jan 2012 09:20:05 +0800	[thread overview]
Message-ID: <1326331207-10339-1-git-send-email-zanghongyong@huawei.com> (raw)

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(-)


             reply	other threads:[~2012-01-12  1:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12  1:20 zanghongyong [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326331207-10339-1-git-send-email-zanghongyong@huawei.com \
    --to=zanghongyong@huawei.com \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=hanweidong@huawei.com \
    --cc=jiangningyu@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=wusongwei@huawei.com \
    --cc=xiaowei.yang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).