Re: [PATCH 4/9] msix: move definitions from msix.c to msix.h

Avi Kivity
2010-09-21T16:03:06Z

On 09/20/2010 06:56 PM, Michael S. Tsirkin wrote:
> On Mon, Sep 20, 2010 at 05:06:45PM +0200, Avi Kivity wrote:
> > This allows us to reuse them from the kvm support code.
> >
> > Signed-off-by: Avi Kivity<avi@redhat.com>
>
> I would rather all dealings with MSI-X table stayed in one place. All we
> need is just the entry, so let's add APIs to retrieve MSIX address and
> data:
>
> uint64_t msix_get_address(dev, vector)
> uint32_t msix_get_data(dev, vector)
>
> and that will be enough for KVM.
>

Ok, will do.

--
error compiling committee.c: too many arguments to function