On 2/24/2026 7:16 PM, Philippe Mathieu-Daudé wrote:
By inlinining the stubs we can avoid the use of target-specific
CONFIG_DEVICES include in a hw/ header, allowing to build the
source files including it as common objects.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  include/hw/s390x/s390-pci-vfio.h | 20 --------------------
  hw/s390x/s390-pci-vfio-stubs.c   | 32 ++++++++++++++++++++++++++++++++
  hw/s390x/meson.build             |  1 +
  3 files changed, 33 insertions(+), 20 deletions(-)
  create mode 100644 hw/s390x/s390-pci-vfio-stubs.c

This doesn't seem to break anything on s390x :) apart from the typo for "inlinining" looks good to me

Reviewed-by: Farhan Ali<[email protected]>


Reply via email to