pci-assign: Allocate entries for all MSI-X vectors
commitc6e3c4e76db9da7c74b27b48c9499f8f4c82f57a
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 1 Feb 2012 05:32:59 +0000 (31 22:32 -0700)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 7 Feb 2012 20:03:46 +0000 (7 18:03 -0200)
tree50eefeb176ab23798437a26f76943c4f84ff7b66
parent83e8e9b60a0c100b454bec450848f82a3e9761c0
pci-assign: Allocate entries for all MSI-X vectors

We still only initialize the number used in the host.  This lets
us do direct access based on MSI-X table offset on write without
needing to translate between physical vector space and initalized
vector space.  It's expected that guests will typically use the
majority of the available vectors, so we're likely not allocating
significantly more entires than are used.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/device-assignment.c