[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/16] VFIO: misc cleanups part2
From: |
Cédric Le Goater |
Subject: |
Re: [PATCH 00/16] VFIO: misc cleanups part2 |
Date: |
Thu, 16 May 2024 18:48:02 +0200 |
User-agent: |
Mozilla Thunderbird |
Hello Zhenzhong,
On 5/15/24 10:20, Zhenzhong Duan wrote:
Hi
This is the last round of cleanup series to change functions in hw/vfio/
to return bool when the error is passed through errp parameter.
The first round is at
https://lists.gnu.org/archive/html/qemu-devel/2024-05/msg01147.html
I see Cédric is also working on some migration stuff cleanup,
so didn't touch migration.c, but all other files in hw/vfio/ are cleanup now.
Patch1 is a fix patch, all others are cleanup patches.
Test done on x86 platform:
vfio device hotplug/unplug with different backend
reboot
This series is rebased to https://github.com/legoater/qemu/tree/vfio-next
I queued part 1 in vfio-next with other changes. part 2 is in vfio-9.1
for now and should reach vfio-next after reviews next week.
Then, we have to work on your v5 [1] which should have all my attention
again after the next vfio PR. You, Joao and Eric have followups series
that need a resync on top of v5, possibly others [2] and [3], not sent
AFAICT. Anyhow, we will need inputs from these people and IOMMU
stakeholders/maintainers.
Thanks,
C.
[1] [PATCH v5 00/19] Add a host IOMMU device abstraction to check with vIOMMU
20240507092043.1172717-1-zhenzhong.duan@intel.com/">https://lore.kernel.org/qemu-devel/20240507092043.1172717-1-zhenzhong.duan@intel.com/
[2] [PATCH ats_vtd v2 00/25] ATS support for VT-d
20240515071057.33990-1-clement.mathieu--drif@eviden.com/">https://lore.kernel.org/all/20240515071057.33990-1-clement.mathieu--drif@eviden.com/
[3] Add Tegra241 (Grace) CMDQV Support
https://lore.kernel.org/all/cover.1712978212.git.nicolinc@nvidia.com/
https://github.com/nicolinc/qemu/commits/wip/iommufd_vcmdq/
Thanks
Zhenzhong
Zhenzhong Duan (16):
vfio/display: Fix error path in call site of ramfb_setup()
vfio/display: Make vfio_display_*() return bool
vfio/helpers: Use g_autofree in hw/vfio/helpers.c
vfio/helpers: Make vfio_set_irq_signaling() return bool
vfio/helpers: Make vfio_device_get_name() return bool
vfio/platform: Make vfio_populate_device() and vfio_base_device_init()
return bool
vfio/ccw: Make vfio_ccw_get_region() return a bool
vfio/pci: Make vfio_intx_enable_kvm() return a bool
vfio/pci: Make vfio_pci_relocate_msix() and vfio_msix_early_setup()
return a bool
vfio/pci: Make vfio_populate_device() return a bool
vfio/pci: Make vfio_intx_enable() return bool
vfio/pci: Make vfio_populate_vga() return bool
vfio/pci: Make capability related functions return bool
vfio/pci: Use g_autofree for vfio_region_info pointer
vfio/pci-quirks: Make vfio_pci_igd_opregion_init() return bool
vfio/pci-quirks: Make vfio_add_*_cap() return bool
hw/vfio/pci.h | 12 +-
include/hw/vfio/vfio-common.h | 6 +-
hw/vfio/ap.c | 10 +-
hw/vfio/ccw.c | 25 ++--
hw/vfio/display.c | 22 ++--
hw/vfio/helpers.c | 33 ++---
hw/vfio/igd.c | 5 +-
hw/vfio/pci-quirks.c | 50 ++++----
hw/vfio/pci.c | 227 ++++++++++++++++------------------
hw/vfio/platform.c | 61 ++++-----
10 files changed, 213 insertions(+), 238 deletions(-)
- [PATCH 12/16] vfio/pci: Make vfio_populate_vga() return bool, (continued)
- [PATCH 12/16] vfio/pci: Make vfio_populate_vga() return bool, Zhenzhong Duan, 2024/05/15
- [PATCH 13/16] vfio/pci: Make capability related functions return bool, Zhenzhong Duan, 2024/05/15
- [PATCH 14/16] vfio/pci: Use g_autofree for vfio_region_info pointer, Zhenzhong Duan, 2024/05/15
- [PATCH 16/16] vfio/pci-quirks: Make vfio_add_*_cap() return bool, Zhenzhong Duan, 2024/05/15
- [PATCH 15/16] vfio/pci-quirks: Make vfio_pci_igd_opregion_init() return bool, Zhenzhong Duan, 2024/05/15
- Re: [PATCH 00/16] VFIO: misc cleanups part2,
Cédric Le Goater <=