[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260210082554.1582553-3-eperezma@redhat.com>
Date: Tue, 10 Feb 2026 09:25:51 +0100
From: Eugenio Pérez <eperezma@...hat.com>
To: "Michael S . Tsirkin" <mst@...hat.com>
Cc: Cindy Lu <lulu@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Laurent Vivier <lvivier@...hat.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Maxime Coquelin <mcoqueli@...hat.com>,
linux-kernel@...r.kernel.org,
Yongji Xie <xieyongji@...edance.com>,
Eugenio Pérez <eperezma@...hat.com>,
Stefano Garzarella <sgarzare@...hat.com>,
virtualization@...ts.linux.dev
Subject: [PATCH v2 2/5] vduse: Add API v2 definition
Introduce the definition for VDUSE API V2. This version serves as a
gateway for feature negotiation.
The kernel uses this version to determine if the userspace device
supports feature flags. Devices that do not explicitly negotiate API V2
will be blocked from querying available VDUSE features, ensuring
backward compatibility.
The next patches implement the new feature incrementally, only enabling
the VDUSE device to set the V2 API version by the end of the series.
Signed-off-by: Eugenio Pérez <eperezma@...hat.com>
---
include/uapi/linux/vduse.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/vduse.h b/include/uapi/linux/vduse.h
index 361eea511c21..27832d46084c 100644
--- a/include/uapi/linux/vduse.h
+++ b/include/uapi/linux/vduse.h
@@ -14,6 +14,10 @@
#define VDUSE_API_VERSION_1 1
+/* Features support */
+
+#define VDUSE_API_VERSION_2 2
+
/*
* Get the version of VDUSE API that kernel supported (VDUSE_API_VERSION).
* This is used for future extension.
--
2.53.0
Powered by blists - more mailing lists