master
h 23 lines 557 Bytes
Raw
1 /*
2 * VFIO types definition
3 *
4 * Copyright Red Hat, Inc. 2025
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8 #ifndef HW_VFIO_VFIO_TYPES_H
9 #define HW_VFIO_VFIO_TYPES_H
10
11 /*
12 * TYPE_VFIO_PCI_DEVICE is an abstract type used to share code
13 * between VFIO implementations that use a kernel driver
14 * with those that use user sockets.
15 */
16 #define TYPE_VFIO_PCI_DEVICE "vfio-pci-device"
17
18 #define TYPE_VFIO_PCI "vfio-pci"
19 /* TYPE_VFIO_PCI shares struct VFIOPCIDevice. */
20
21 #define TYPE_VFIO_PCI_NOHOTPLUG "vfio-pci-nohotplug"
22
23 #endif /* HW_VFIO_VFIO_TYPES_H */