virtio_pci: simplify MSI-X setup
Try to grab the MSI-X vectors early and fall back to the shared one before doing lots of allocations. Signed-off-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NJason Wang <jasowang@redhat.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录