On 11/4/25 17:09, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
./scripts/clean-includes --git vfio hw/vfio hw/vfio-user
All .c should include qemu/osdep.h first. The script performs three
related cleanups:
* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c already includes
it. Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
Drop these, too.
Signed-off-by: Peter Maydell <[email protected]>
---
hw/vfio-user/container.h | 1 -
hw/vfio-user/device.h | 1 -
hw/vfio/pci-quirks.h | 1 -
hw/vfio-user/container.c | 2 +-
hw/vfio-user/pci.c | 2 +-
hw/vfio/ap.c | 1 -
hw/vfio/container.c | 2 +-
hw/vfio/cpr-legacy.c | 2 +-
8 files changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Cédric Le Goater <[email protected]>
Thanks,
C.