commit | fa3a3279354e5f7a13ec16f2c9f5e39124745332 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Nov 17 11:43:13 2016 +0100 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Dec 16 00:12:47 2016 +0200 |
tree | c8d1016ed45ca19a7836ec59e27158b0453c2ef1 | |
parent | d41795978c47fa87b6514a0f2238958b7e8319a0 [diff] |
virtio_pci: use pci_alloc_irq_vectors This avoids the separate allocation for the msix_entries structures, and instead allows us to use pci_irq_vector to find a given IRQ vector. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>