hv: ptdev: simplify struct ptdev_msi_info

The virt_vector/phys_vector are only used for debugging.
Rename msix to is_msix.

Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Li, Fei1
2018-08-21 15:47:39 +08:00
committed by wenlingz
parent 2371839cad
commit da57284ba5
3 changed files with 5 additions and 9 deletions

View File

@@ -622,7 +622,7 @@ int32_t hcall_remap_pci_msix(struct vm *vm, uint16_t vmid, uint64_t param)
if (!is_vm0(vm)) {
ret = -1;
} else {
info.msix = remap.msix;
info.is_msix = remap.msix;
info.vmsi_ctl = remap.msi_ctl;
info.vmsi_addr = remap.msi_addr;
info.vmsi_data = remap.msi_data;