• Rusty Russell's avatar
    virtio_pci: minor MSI-X cleanups · f68d2408
    Rusty Russell authored
    1) Rename vp_request_vectors to vp_request_msix_vectors, and take
       non-MSI-X case out to caller.
    2) Comment weird pci_enable_msix API
    3) Rename vp_find_vq to setup_vq.
    4) Fix spaces to tabs
    5) Make nvectors calc internal to vp_try_to_find_vqs()
    6) Rename vector to msix_vector for more clarity.
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    f68d2408
virtio_pci.c 19.4 KB