From nobody Wed Nov 27 12:24:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699297161; cv=none; d=zohomail.com; s=zohoarc; b=iCw+XRH/43Ba/m0fUbt7J90iSj4/49xcfdeEu3Z9xf/sGkllhcQ2zh/FI8db/cirxBUcWLw5STI8b2fzpRp6kdpO03HSSGoqTpGD+W0tUtgz43tVkpHoHyhLdkJiMqFxQl06ixlISA43ZxSXEnxohxjCIVg4dXWhvaWVeh6zxFg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699297161; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=eQYn9T9uZSh6JgFI7JEYQpVIP7VUC/yhVeEeSSJ6yyU=; b=jVWgut4x1PjjtdFxZX8AWwuHs8mBeEMPpUDVWqiYYEGe26cMr9qtP6rAsUInPbdCZ+BWBtkvBNShkNf/x4mV7AIJ+gGsOeVbKMsae4vz9yuRGmnn6z9BrRn3PcUeLrCjoBuBZCQdeWZadKJfFtr1a63SNk8I6klwJNDSOdJW1Y8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699297161491827.6296609717928; Mon, 6 Nov 2023 10:59:21 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r04o9-0002xC-I4; Mon, 06 Nov 2023 13:58:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r04o7-0002wH-Sb for qemu-devel@nongnu.org; Mon, 06 Nov 2023 13:58:43 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r04ny-0002QF-Bk for qemu-devel@nongnu.org; Mon, 06 Nov 2023 13:58:43 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4083f613272so42115905e9.1 for ; Mon, 06 Nov 2023 10:58:32 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id y23-20020a05600c341700b00406408dc788sm12869598wmp.44.2023.11.06.10.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 10:58:30 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E75A265760; Mon, 6 Nov 2023 18:51:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699297112; x=1699901912; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eQYn9T9uZSh6JgFI7JEYQpVIP7VUC/yhVeEeSSJ6yyU=; b=Ffz08mJmPHnSu1CketK/PB+eYFpgdH/qpoMMKAfhpoZkmD9z7sEXDzLgx8Pa7HP6Nn u+7cmxOwpTdhScL6Yj4uZrsvBCl8HkNTKYtVmeHyHKdLcu3UObrSiGSeiJOs8GdeXI7f Q79Ox1qT55VchkthkGehmExo8SCqHan5iFqbK7O17npmoFOp6qUK6poV5tSJUtvF3Ta0 tbcCQVumTFWas3/6oPSnaETOk2xA05848NWbEdu/VPpAcimtVnOrruZzoF3FMfX3btU5 Vza+DQiB2h9Owa6oN6834CrFsQO3otfOpNNTyB7slJeglgWU5V/Bpw3hKhwhkd7/MXnM zCmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699297112; x=1699901912; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eQYn9T9uZSh6JgFI7JEYQpVIP7VUC/yhVeEeSSJ6yyU=; b=SUJB1PPhjZgNOsj5ZYzMFFIshvtVJBg2aeYkINvT/A8waq6YI5b7zv33OL5yvcjOWs veBiIJUswwRZxCyOJm998Le+j3ytpWjtS0tABrxiSet7dwxbtDpfeqFFK/fuO/pxrN6i oVGNoOSBW3w+9WhtWLrO5d1pZLZl1jrKjW78eS+tf4rwE8WyuKQSQvKomYkekNZNV9W/ VUC6r+sXp1qjFL8yr0+fQ7KCANDncDRuCcM6SeMvLeaHV85P6Ae0sANFWNnn7vUX/FcX 4F/4+rKTb2aMYO+1UyX3v6KtGdNRA84mjsGNyGdMB8Hn1onZdc2M8PUUE1k24KrJAYHt 3Obw== X-Gm-Message-State: AOJu0YyK3CgEcdC2BFzqjKqwiP+FZhaPPlONyZ2yFPR6Ze/TsUQOJ1tv xmuQOOiDImIBBe7RcW7egCKmVg== X-Google-Smtp-Source: AGHT+IGtsF0grBWuUcGA6NZ7mxp6IgMVm9YnBZXjtMggNggfSp3xeYboy9hwkwaqtWSlxyI+vSQmfA== X-Received: by 2002:a1c:4b09:0:b0:408:4eb2:3b1b with SMTP id y9-20020a1c4b09000000b004084eb23b1bmr506592wma.21.1699297111806; Mon, 06 Nov 2023 10:58:31 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Mahmoud Mandour , Cleber Rosa , Wainer dos Santos Moschetta , Paolo Bonzini , Thomas Huth , Beraldo Leal , Alexandre Iooss , John Snow , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Chris Wulff , Marek Vasut , Richard Henderson , Greg Manning Subject: [PATCH 16/22] plugins: allow plugins to be enabled on windows Date: Mon, 6 Nov 2023 18:51:06 +0000 Message-Id: <20231106185112.2755262-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231106185112.2755262-1-alex.bennee@linaro.org> References: <20231106185112.2755262-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699297163046100001 From: Greg Manning 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 Reviewed-by: Alex Benn=C3=A9e Message-Id: <20231102172053.17692-5-gmanning@rapitasystems.com> [AJB: add check for dlltool to configure] Signed-off-by: Alex Benn=C3=A9e Message-Id: <20231103195956.1998255-30-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- configure | 4 ++-- meson.build | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index e50ec99fe2..abcb199aa8 100755 --- a/configure +++ b/configure @@ -1011,9 +1011,9 @@ if test "$targetos" =3D "bogus"; then fi =20 # test for any invalid configuration combinations -if test "$targetos" =3D "windows"; then +if test "$targetos" =3D "windows" && ! has "$dlltool"; then if test "$plugins" =3D "yes"; then - error_exit "TCG plugins not currently supported on Windows platforms" + error_exit "TCG plugins requires dlltool to build on Windows platforms" fi plugins=3D"no" fi diff --git a/meson.build b/meson.build index dcef8b1e79..b855224acc 100644 --- a/meson.build +++ b/meson.build @@ -3904,6 +3904,11 @@ endforeach =20 if get_option('plugins') install_headers('include/qemu/qemu-plugin.h') + if targetos =3D=3D 'windows' + # On windows, we want to deliver the qemu_plugin_api.lib file in the q= emu installer, + # so that plugin authors can compile against it. + install_data(win32_qemu_plugin_api_lib, install_dir: 'lib') + endif endif =20 subdir('qga') --=20 2.39.2