@samitouri / QOSamiQemu / commits / e5dcb06798

plugins: bump version

Next commits will be breaking changes, so bump min version and version accordingly. Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Link: https://lore.kernel.org/qemu-devel/20260615193526.2883349-2-pierrick.bouvier@oss.qualcomm.com Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>

Pierrick Bouvier committed Jun 15, 2026 at 12:35 UTC e5dcb06798a10c7f0514c95256bd8e8baa73a3f9
2 files changed +6 -2
include/plugins/qemu-plugin.h
+5 -1
@@ -80,11 +80,15 @@ typedef uint64_t qemu_plugin_id_t;
80 * - added disconinuity callback API (for interrupts, exceptions, host calls)
81 * - added syscall filter callback API, which allows skipping syscalls and
82 * setting custom syscall return values
83 + *
84 + * version 7:
85 + * - add userdata to all plugin callbacks, allowing maintenance of state
86 + * externally, and easing interfacing with other languages.
87 */
88
89 extern QEMU_PLUGIN_EXPORT int qemu_plugin_version;
90
87 -#define QEMU_PLUGIN_VERSION 6
91 +#define QEMU_PLUGIN_VERSION 7
92
93 /**
94 * struct qemu_info_t - system information for plugins
plugins/plugin.h
+1 -1
@@ -16,7 +16,7 @@
16 #include "qemu/queue.h"
17 #include "qemu/qht.h"
18
19 -#define QEMU_PLUGIN_MIN_VERSION 2
19 +#define QEMU_PLUGIN_MIN_VERSION 7
20
21 /* global state */
22 struct qemu_plugin_state {