[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 2/6] vfio/pci: rename vfio_put_device to vfio_pci_put_device
From: |
Cédric Le Goater |
Subject: |
[PULL 2/6] vfio/pci: rename vfio_put_device to vfio_pci_put_device |
Date: |
Mon, 9 Oct 2023 08:48:56 +0200 |
From: Zhenzhong Duan <zhenzhong.duan@intel.com>
vfio_put_device() is a VFIO PCI specific function, rename it with
'vfio_pci' prefix to avoid confusing.
No functional change.
Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
hw/vfio/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index
3b2ca3c24ca2ed91c03b5c6bef65bb5a0fb0298a..b2d5010b9f0effbe85a3f57b43e282e837b6383f
100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -2826,7 +2826,7 @@ static void vfio_populate_device(VFIOPCIDevice *vdev,
Error **errp)
}
}
-static void vfio_put_device(VFIOPCIDevice *vdev)
+static void vfio_pci_put_device(VFIOPCIDevice *vdev)
{
g_free(vdev->vbasedev.name);
g_free(vdev->msix);
@@ -3317,7 +3317,7 @@ static void vfio_instance_finalize(Object *obj)
*
* g_free(vdev->igd_opregion);
*/
- vfio_put_device(vdev);
+ vfio_pci_put_device(vdev);
vfio_put_group(group);
}
--
2.41.0
- [PULL v2 0/6] vfio queue, Cédric Le Goater, 2023/10/09
- [PULL 2/6] vfio/pci: rename vfio_put_device to vfio_pci_put_device,
Cédric Le Goater <=
- [PULL 1/6] vfio/display: Fix missing update to set backing fields, Cédric Le Goater, 2023/10/09
- [PULL 4/6] vfio/pci: enable vector on dynamic MSI-X allocation, Cédric Le Goater, 2023/10/09
- [PULL 3/6] vfio/pci: detect the support of dynamic MSI-X allocation, Cédric Le Goater, 2023/10/09
- [PULL 5/6] vfio/pci: use an invalid fd to enable MSI-X, Cédric Le Goater, 2023/10/09
- [PULL 6/6] vfio/pci: enable MSI-X in interrupt restoring on dynamic allocation, Cédric Le Goater, 2023/10/09
- Re: [PULL v2 0/6] vfio queue, Stefan Hajnoczi, 2023/10/09