[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 29/29] plugins: allow plugins to be enabled on windows
From: |
Alex Bennée |
Subject: |
[PATCH 29/29] plugins: allow plugins to be enabled on windows |
Date: |
Fri, 3 Nov 2023 19:59:56 +0000 |
From: Greg Manning <gmanning@rapitasystems.com>
allow plugins to be enabled in the configure script on windows. Also,
add the qemu_plugin_api.lib to the installer.
Signed-off-by: Greg Manning <gmanning@rapitasystems.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231102172053.17692-5-gmanning@rapitasystems.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 6 ------
meson.build | 5 +++++
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 04f2cdd166..1129e6dd94 100755
--- a/configure
+++ b/configure
@@ -1010,12 +1010,6 @@ if test "$targetos" = "bogus"; then
fi
# test for any invalid configuration combinations
-if test "$targetos" = "windows"; then
- if test "$plugins" = "yes"; then
- error_exit "TCG plugins not currently supported on Windows platforms"
- fi
- plugins="no"
-fi
if test "$tcg" = "disabled" ; then
if test "$plugins" = "yes"; then
error_exit "Can't enable plugins on non-TCG builds"
diff --git a/meson.build b/meson.build
index dcef8b1e79..b855224acc 100644
--- a/meson.build
+++ b/meson.build
@@ -3904,6 +3904,11 @@ endforeach
if get_option('plugins')
install_headers('include/qemu/qemu-plugin.h')
+ if targetos == 'windows'
+ # On windows, we want to deliver the qemu_plugin_api.lib file in the qemu
installer,
+ # so that plugin authors can compile against it.
+ install_data(win32_qemu_plugin_api_lib, install_dir: 'lib')
+ endif
endif
subdir('qga')
--
2.39.2
- [PATCH 16/29] gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb, (continued)
- [PATCH 16/29] gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb, Alex Bennée, 2023/11/03
- [PATCH 14/29] gdbstub: Use GDBFeature for gdb_register_coprocessor, Alex Bennée, 2023/11/03
- [PATCH 10/29] gdbstub: Introduce GDBFeatureBuilder, Alex Bennée, 2023/11/03
- [PATCH 15/29] gdbstub: Use GDBFeature for GDBRegisterState, Alex Bennée, 2023/11/03
- [PATCH 23/29] plugins: Use different helpers when reading registers, Alex Bennée, 2023/11/03
- [PATCH 17/29] gdbstub: Simplify XML lookup, Alex Bennée, 2023/11/03
- [PATCH 21/29] gdbstub: expose api to find registers, Alex Bennée, 2023/11/03
- [PATCH 19/29] hw/core/cpu: Remove gdb_get_dynamic_xml member, Alex Bennée, 2023/11/03
- [PATCH 28/29] plugins: disable lockstep plugin on windows, Alex Bennée, 2023/11/03
- [PATCH 29/29] plugins: allow plugins to be enabled on windows,
Alex Bennée <=
- [PATCH 24/29] plugins: add an API to read registers, Alex Bennée, 2023/11/03
- [PATCH 20/29] gdbstub: Add members to identify registers to GDBFeature, Alex Bennée, 2023/11/03
- [PATCH 27/29] plugins: make test/example plugins work on windows, Alex Bennée, 2023/11/03
- [PATCH 18/29] gdbstub: Infer number of core registers from XML, Alex Bennée, 2023/11/03