[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/13] plugins: bump API version
From: |
Pierrick Bouvier |
Subject: |
[PATCH 02/13] plugins: bump API version |
Date: |
Mon, 16 Dec 2024 17:06:56 -0800 |
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
include/qemu/qemu-plugin.h | 6 +++++-
plugins/plugin.h | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 1fbcff6e1d2..a611f912139 100644
--- a/include/qemu/qemu-plugin.h
+++ b/include/qemu/qemu-plugin.h
@@ -65,11 +65,15 @@ typedef uint64_t qemu_plugin_id_t;
*
* version 4:
* - added qemu_plugin_read_memory_vaddr
+ *
+ * version 5:
+ * - change signature of qemu_plugin_insn_haddr to return uint64_t instead of
+ * void *.
*/
extern QEMU_PLUGIN_EXPORT int qemu_plugin_version;
-#define QEMU_PLUGIN_VERSION 4
+#define QEMU_PLUGIN_VERSION 5
/**
* struct qemu_info_t - system information for plugins
diff --git a/plugins/plugin.h b/plugins/plugin.h
index 30e2299a54d..b83c44fda64 100644
--- a/plugins/plugin.h
+++ b/plugins/plugin.h
@@ -15,7 +15,7 @@
#include <gmodule.h>
#include "qemu/qht.h"
-#define QEMU_PLUGIN_MIN_VERSION 2
+#define QEMU_PLUGIN_MIN_VERSION 5
/* global state */
struct qemu_plugin_state {
--
2.39.5
- [PATCH 00/13] Fix 32-bit build for plugins, Pierrick Bouvier, 2024/12/16
- [PATCH 01/13] plugins: change signature of qemu_plugin_insn_haddr, Pierrick Bouvier, 2024/12/16
- [PATCH 02/13] plugins: bump API version,
Pierrick Bouvier <=
- [PATCH 04/13] contrib/plugins/howvec: ensure we don't regress if this plugin is extended, Pierrick Bouvier, 2024/12/16
- [PATCH 03/13] tests/tcg/plugins/insn: remove unused callback parameter, Pierrick Bouvier, 2024/12/16
- [PATCH 05/13] tests/tcg/plugins/syscall: fix 32-bit build, Pierrick Bouvier, 2024/12/16
- [PATCH 06/13] tests/tcg/plugins/mem: fix 32-bit build, Pierrick Bouvier, 2024/12/16
- [PATCH 07/13] contrib/plugins/stoptrigger: fix 32-bit build, Pierrick Bouvier, 2024/12/16