[PATCH v2 0/8] vfio: Remove 'vfio-platform'

Cédric Le Goater posted 8 patches 3 weeks, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250901064631.530723-1-clg@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
docs/about/deprecated.rst             |  25 -
docs/about/removed-features.rst       |  25 +
docs/devel/kconfig.rst                |   2 -
{include/hw => hw}/vfio/vfio-region.h |   0
include/hw/vfio/vfio-amd-xgbe.h       |  46 --
include/hw/vfio/vfio-calxeda-xgmac.h  |  43 --
include/hw/vfio/vfio-device.h         |   2 +-
include/hw/vfio/vfio-platform.h       |  78 ---
hw/arm/virt.c                         |   6 +-
hw/core/sysbus-fdt.c                  | 383 --------------
hw/isa/isa-superio.c                  |   1 +
hw/mips/loongson3_virt.c              |   1 +
hw/mips/malta.c                       |   1 +
hw/vfio/amd-xgbe.c                    |  61 ---
hw/vfio/calxeda-xgmac.c               |  61 ---
hw/vfio/platform.c                    | 716 --------------------------
hw/arm/Kconfig                        |   3 -
hw/vfio/Kconfig                       |  16 -
hw/vfio/meson.build                   |   3 -
hw/vfio/trace-events                  |  11 -
20 files changed, 30 insertions(+), 1454 deletions(-)
rename {include/hw => hw}/vfio/vfio-region.h (100%)
delete mode 100644 include/hw/vfio/vfio-amd-xgbe.h
delete mode 100644 include/hw/vfio/vfio-calxeda-xgmac.h
delete mode 100644 include/hw/vfio/vfio-platform.h
delete mode 100644 hw/vfio/amd-xgbe.c
delete mode 100644 hw/vfio/calxeda-xgmac.c
delete mode 100644 hw/vfio/platform.c
[PATCH v2 0/8] vfio: Remove 'vfio-platform'
Posted by Cédric Le Goater 3 weeks, 6 days ago
Hello, 

The VFIO_PLATFORM device type has been deprecated in the QEMU 10.0
timeframe. QEMU 10.2 is the time for removal.

The last patch moves vfio-region.h under hw/vfio since it no longer
needs to be a public VFIO interface.

Thanks,

C.

Changes in v2:

 - Fixed 'system/system.h' include for the arm virt machine and a
   couple more models

Cédric Le Goater (8):
  hw/arm/virt: Include 'system/system.h'
  hw/isa/superio: Include 'system/system.h'
  hw/mips/loongson3_virt: Include 'system/system.h'
  hw/mips/malta: Include 'system/system.h'
  vfio: Remove 'vfio-amd-xgbe' device
  vfio: Remove 'vfio-calxeda-xgmac' device
  vfio: Remove 'vfio-platform'
  vfio: Move vfio-region.h under hw/vfio/

 docs/about/deprecated.rst             |  25 -
 docs/about/removed-features.rst       |  25 +
 docs/devel/kconfig.rst                |   2 -
 {include/hw => hw}/vfio/vfio-region.h |   0
 include/hw/vfio/vfio-amd-xgbe.h       |  46 --
 include/hw/vfio/vfio-calxeda-xgmac.h  |  43 --
 include/hw/vfio/vfio-device.h         |   2 +-
 include/hw/vfio/vfio-platform.h       |  78 ---
 hw/arm/virt.c                         |   6 +-
 hw/core/sysbus-fdt.c                  | 383 --------------
 hw/isa/isa-superio.c                  |   1 +
 hw/mips/loongson3_virt.c              |   1 +
 hw/mips/malta.c                       |   1 +
 hw/vfio/amd-xgbe.c                    |  61 ---
 hw/vfio/calxeda-xgmac.c               |  61 ---
 hw/vfio/platform.c                    | 716 --------------------------
 hw/arm/Kconfig                        |   3 -
 hw/vfio/Kconfig                       |  16 -
 hw/vfio/meson.build                   |   3 -
 hw/vfio/trace-events                  |  11 -
 20 files changed, 30 insertions(+), 1454 deletions(-)
 rename {include/hw => hw}/vfio/vfio-region.h (100%)
 delete mode 100644 include/hw/vfio/vfio-amd-xgbe.h
 delete mode 100644 include/hw/vfio/vfio-calxeda-xgmac.h
 delete mode 100644 include/hw/vfio/vfio-platform.h
 delete mode 100644 hw/vfio/amd-xgbe.c
 delete mode 100644 hw/vfio/calxeda-xgmac.c
 delete mode 100644 hw/vfio/platform.c

-- 
2.51.0


Re: [PATCH v2 0/8] vfio: Remove 'vfio-platform'
Posted by Cédric Le Goater 2 weeks, 6 days ago
On 9/1/25 08:46, Cédric Le Goater wrote:
> Hello,
> 
> The VFIO_PLATFORM device type has been deprecated in the QEMU 10.0
> timeframe. QEMU 10.2 is the time for removal.
> 
> The last patch moves vfio-region.h under hw/vfio since it no longer
> needs to be a public VFIO interface.
> 
> Thanks,
> 
> C.
> 
> Changes in v2:
> 
>   - Fixed 'system/system.h' include for the arm virt machine and a
>     couple more models
> 
> Cédric Le Goater (8):
>    hw/arm/virt: Include 'system/system.h'
>    hw/isa/superio: Include 'system/system.h'
>    hw/mips/loongson3_virt: Include 'system/system.h'
>    hw/mips/malta: Include 'system/system.h'
>    vfio: Remove 'vfio-amd-xgbe' device
>    vfio: Remove 'vfio-calxeda-xgmac' device
>    vfio: Remove 'vfio-platform'
>    vfio: Move vfio-region.h under hw/vfio/
> 
>   docs/about/deprecated.rst             |  25 -
>   docs/about/removed-features.rst       |  25 +
>   docs/devel/kconfig.rst                |   2 -
>   {include/hw => hw}/vfio/vfio-region.h |   0
>   include/hw/vfio/vfio-amd-xgbe.h       |  46 --
>   include/hw/vfio/vfio-calxeda-xgmac.h  |  43 --
>   include/hw/vfio/vfio-device.h         |   2 +-
>   include/hw/vfio/vfio-platform.h       |  78 ---
>   hw/arm/virt.c                         |   6 +-
>   hw/core/sysbus-fdt.c                  | 383 --------------
>   hw/isa/isa-superio.c                  |   1 +
>   hw/mips/loongson3_virt.c              |   1 +
>   hw/mips/malta.c                       |   1 +
>   hw/vfio/amd-xgbe.c                    |  61 ---
>   hw/vfio/calxeda-xgmac.c               |  61 ---
>   hw/vfio/platform.c                    | 716 --------------------------
>   hw/arm/Kconfig                        |   3 -
>   hw/vfio/Kconfig                       |  16 -
>   hw/vfio/meson.build                   |   3 -
>   hw/vfio/trace-events                  |  11 -
>   20 files changed, 30 insertions(+), 1454 deletions(-)
>   rename {include/hw => hw}/vfio/vfio-region.h (100%)
>   delete mode 100644 include/hw/vfio/vfio-amd-xgbe.h
>   delete mode 100644 include/hw/vfio/vfio-calxeda-xgmac.h
>   delete mode 100644 include/hw/vfio/vfio-platform.h
>   delete mode 100644 hw/vfio/amd-xgbe.c
>   delete mode 100644 hw/vfio/calxeda-xgmac.c
>   delete mode 100644 hw/vfio/platform.c
> 


Applied 5-8 to vfio-next.

Thanks,

C.




Re: [PATCH v2 0/8] vfio: Remove 'vfio-platform'
Posted by Philippe Mathieu-Daudé 3 weeks, 5 days ago
On 1/9/25 08:46, Cédric Le Goater wrote:

> Changes in v2:
> 
>   - Fixed 'system/system.h' include for the arm virt machine and a
>     couple more models
> 
> Cédric Le Goater (8):
>    hw/arm/virt: Include 'system/system.h'
>    hw/isa/superio: Include 'system/system.h'
>    hw/mips/loongson3_virt: Include 'system/system.h'
>    hw/mips/malta: Include 'system/system.h'

Patches 1-4 queued, thanks!