mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-03 18:46:33 +00:00
DM: remove unused function vm_setup_ptdev_msi
Change-Id: Ia62d4a75ef6074cfd4f5b271ab21ff9ed0a64f51 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
bb8584dd4a
commit
9224277b5e
@ -508,15 +508,6 @@ vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
|
|||||||
return ioctl(ctx->fd, IC_UNSET_MEMSEG, &memmap);
|
return ioctl(ctx->fd, IC_UNSET_MEMSEG, &memmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
vm_setup_ptdev_msi(struct vmctx *ctx, struct acrn_vm_pci_msix_remap *msi_remap)
|
|
||||||
{
|
|
||||||
if (!msi_remap)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
return ioctl(ctx->fd, IC_VM_PCI_MSIX_REMAP, msi_remap);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
vm_set_ptdev_msix_info(struct vmctx *ctx, struct ic_ptdev_irq *ptirq)
|
vm_set_ptdev_msix_info(struct vmctx *ctx, struct ic_ptdev_irq *ptirq)
|
||||||
{
|
{
|
||||||
|
@ -126,8 +126,6 @@ int vm_map_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
|
|||||||
vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
||||||
int vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
|
int vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,
|
||||||
vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
vm_paddr_t gpa, size_t len, vm_paddr_t hpa);
|
||||||
int vm_setup_ptdev_msi(struct vmctx *ctx,
|
|
||||||
struct acrn_vm_pci_msix_remap *msi_remap);
|
|
||||||
int vm_set_ptdev_msix_info(struct vmctx *ctx, struct ic_ptdev_irq *ptirq);
|
int vm_set_ptdev_msix_info(struct vmctx *ctx, struct ic_ptdev_irq *ptirq);
|
||||||
int vm_reset_ptdev_msix_info(struct vmctx *ctx, uint16_t virt_bdf, uint16_t phys_bdf,
|
int vm_reset_ptdev_msix_info(struct vmctx *ctx, uint16_t virt_bdf, uint16_t phys_bdf,
|
||||||
int vector_count);
|
int vector_count);
|
||||||
|
Loading…
Reference in New Issue
Block a user