hv: assign: rename ptirq_msix_remap to ptirq_prepare_msix_remap

ptirq_msix_remap doesn't do the real remap, that's the vmsi_remap and vmsix_remap_entry
does. ptirq_msix_remap only did the preparation.

Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
Li Fei1
2019-11-26 22:26:15 +08:00
committed by wenlingz
parent 51a43dab79
commit 6ee076f7df
5 changed files with 6 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ static int32_t vmsi_remap(const struct pci_vdev *vdev, bool enable)
info.vmsi_data.full = 0U;
}
ret = ptirq_msix_remap(vm, vdev->bdf.value, pbdf.value, 0U, &info);
ret = ptirq_prepare_msix_remap(vm, vdev->bdf.value, pbdf.value, 0U, &info);
if (ret == 0) {
/* Update MSI Capability structure to physical device */
if ((msgctrl & PCIM_MSICTRL_64BIT) != 0U) {