From: Anthony Liguori <anthony@codemonkey.ws>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>,
Avi Kivity <avi@redhat.com>,
kvm@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH RFC 0/8] virtio: add guest MSI-X support
Date: Tue, 28 Apr 2009 14:56:15 -0500 [thread overview]
Message-ID: <49F75F5F.1000501__17032.3802078657$1240948756$gmane$org@codemonkey.ws> (raw)
In-Reply-To: <20090428180248.GB7604@redhat.com>
Michael S. Tsirkin wrote:
> So to map vq 0 to vector 0, vq 1 to vector 1 and vq 2 to vector 2 the driver would do:
>
> struct virtio_interrupt_mapping mapping[3] = { {0, 0}, {1, 1}, {2, 2} };
> vec = map_vqs_to_interrupt(dev, mapping, 3);
> if (vec) {
> error handling
> }
>
> and then find_vq as usual.
>
Is it possible to just delay the msix enablement until after the queues
have been finalized (IOW in virtio-pci.c:vp_finalize_features)?
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-04-28 19:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090427123136.GA1152@redhat.com>
2009-04-27 14:00 ` [PATCH RFC 0/8] virtio: add guest MSI-X support Christian Borntraeger
2009-04-27 14:39 ` Anthony Liguori
[not found] ` <200904271600.30599.borntraeger@de.ibm.com>
2009-04-27 14:32 ` Michael S. Tsirkin
2009-04-27 15:06 ` Avi Kivity
2009-04-27 15:39 ` Michael S. Tsirkin
[not found] ` <20090427153936.GA2276@redhat.com>
2009-04-27 16:59 ` Christian Borntraeger
[not found] ` <200904271859.53190.borntraeger@de.ibm.com>
2009-04-27 17:19 ` Michael S. Tsirkin
2009-04-28 6:47 ` Avi Kivity
[not found] ` <49F6A672.8050704@redhat.com>
2009-04-28 17:41 ` Michael S. Tsirkin
[not found] ` <20090428174152.GA7604@redhat.com>
2009-04-28 17:51 ` Avi Kivity
[not found] ` <49F7420C.5070505@redhat.com>
2009-04-28 18:02 ` Michael S. Tsirkin
[not found] ` <20090428180248.GB7604@redhat.com>
2009-04-28 19:56 ` Anthony Liguori [this message]
[not found] ` <49F75F5F.1000501@codemonkey.ws>
2009-04-28 21:01 ` Michael S. Tsirkin
2009-05-04 9:21 ` Avi Kivity
[not found] ` <49FEB398.4020906@redhat.com>
2009-05-04 11:54 ` Michael S. Tsirkin
[not found] ` <20090504115450.GB30001@redhat.com>
2009-05-04 11:57 ` Avi Kivity
[not found] ` <20090427143256.GD2504@redhat.com>
2009-04-27 15:37 ` Christian Borntraeger
[not found] ` <200904271737.25546.borntraeger@de.ibm.com>
2009-04-27 17:17 ` Michael S. Tsirkin
[not found] ` <49F5C38A.10806@codemonkey.ws>
2009-04-27 17:42 ` Michael S. Tsirkin
2009-04-27 12:31 Michael S. Tsirkin
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='49F75F5F.1000501__17032.3802078657$1240948756$gmane$org@codemonkey.ws' \
--to=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/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