summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGautam Dawar <gautam.dawar@xilinx.com>2022-02-15 06:34:29 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-03-28 22:52:58 +0200
commit90a6951b58e935124eeb7ecd9fbc2426f841ac0c (patch)
tree66dd5169ccac6bfc18846b1624c3b16156ec3abc
parentmm/balloon_compaction: make balloon page compaction callbacks static (diff)
downloadlinux-90a6951b58e935124eeb7ecd9fbc2426f841ac0c.tar.xz
linux-90a6951b58e935124eeb7ecd9fbc2426f841ac0c.zip
Add definition of VIRTIO_F_IN_ORDER feature bit
This patch adds the definition of VIRTIO_F_IN_ORDER feature bit in the relevant header file to make it available in QEMU's linux standard header file virtio_config.h, which is updated using scripts/update-linux-headers.sh Signed-off-by: Gautam Dawar <gdawar@xilinx.com> Link: https://lore.kernel.org/r/20220215053430.24650-1-gdawar@xilinx.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
-rw-r--r--include/uapi/linux/virtio_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h
index b5eda06f0d57..f0fb0ae021c0 100644
--- a/include/uapi/linux/virtio_config.h
+++ b/include/uapi/linux/virtio_config.h
@@ -83,6 +83,12 @@
#define VIRTIO_F_RING_PACKED 34
/*
+ * Inorder feature indicates that all buffers are used by the device
+ * in the same order in which they have been made available.
+ */
+#define VIRTIO_F_IN_ORDER 35
+
+/*
* This feature indicates that memory accesses by the driver and the
* device are ordered in a way described by the platform.
*/