aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@nxp.com>2019-06-03 15:06:07 +0300
committerDaniel Thompson <daniel@redfelineninja.org.uk>2019-09-17 16:03:00 +0100
commitd0f73bcae7e16ace00d339e4d73f027e92d5bb5c (patch)
tree02674130b9764fd5a285bb4aec62be25ed1a0045
parent89f2ece24f8f45eb8cf77ef3f2e26c1eb4e93348 (diff)
downloadlinux-d0f73bcae7e16ace00d339e4d73f027e92d5bb5c.tar.gz
Changed VFIO_DEVICE_FLAGS_FSL_MC define
Newer versions of kernel have more devices. In order to use the same QEMU for all versions, we need to update the define. Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
-rw-r--r--include/uapi/linux/vfio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index f41d2d75e1c2..1e0a0995c8f2 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -200,7 +200,7 @@ struct vfio_device_info {
#define VFIO_DEVICE_FLAGS_PLATFORM (1 << 2) /* vfio-platform device */
#define VFIO_DEVICE_FLAGS_AMBA (1 << 3) /* vfio-amba device */
#define VFIO_DEVICE_FLAGS_CCW (1 << 4) /* vfio-ccw device */
-#define VFIO_DEVICE_FLAGS_FSL_MC (1 << 5) /* vfio-fsl-mc device */
+#define VFIO_DEVICE_FLAGS_FSL_MC (1 << 6) /* vfio-fsl-mc device */
__u32 num_regions; /* Max region index + 1 */
__u32 num_irqs; /* Max IRQ index + 1 */
};