]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Move the TYPE_* to hw/vfio/types.h
authorShaoqin Huang <shahuang@redhat.com>
Thu, 17 Jul 2025 10:09:40 +0000 (06:09 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Jul 2025 19:41:45 +0000 (21:41 +0200)
commitb53a3bba5e02df7cbdb26f8bf8bcb11b8290e863
tree3f72d83f06363cc907e9e135f12eda7d34a7bdb7
parent350785d41d8bb0b799dd16ea04a7232dc8d6093a
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 <shahuang@redhat.com>
Message-ID: <20250717100941.2230408-3-shahuang@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/vfio/pci.h
hw/vfio/types.h [new file with mode: 0644]