On Thu, Jul 17, 2025 at 06:09:40AM -0400, Shaoqin Huang wrote: > Date: Thu, 17 Jul 2025 06:09:40 -0400 > From: Shaoqin Huang <shahu...@redhat.com> > Subject: [PATCH v11 2/3] vfio: Move the TYPE_* to hw/vfio/types.h > > Move the TYPE_* to a new file hw/vfio/types.h because the > TYPE_VFIO_PCI will be used in later patch, but directly include the > hw/vfio/pci.h can cause some compilation error when cross build the > windows version. > > The hw/vfio/types.h can be included to mitigate that problem. > > Signed-off-by: Shaoqin Huang <shahu...@redhat.com> > --- > hw/vfio/pci.h | 10 +--------- > hw/vfio/types.h | 21 +++++++++++++++++++++ > 2 files changed, 22 insertions(+), 9 deletions(-) > create mode 100644 hw/vfio/types.h
Reviewed-by: Zhao Liu <zhao1....@intel.com>