From nobody Fri May 3 12:26:07 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1677494013; cv=none; d=zohomail.com; s=zohoarc; b=XHGkoTpjRM/AVt3dXdewarDBbSV7uPzm+j4FcL6OiqiTQ9pdpBiC+6vIfGXM9QGn4VltTZ9XsyOp/r/btThvD84nQ8rv26zJyPwjzRYKsVLZ9JIfp9Azb1B8Z/+Yq97P1T3DKIKvr1iCxo8rGgmNQgp3E+hUFAallvx3sBh0uUk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677494013; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=m2nY1zTRPRbQEspGXz7N1tgrBvNRnVFL1fwTqdC9gz0=; b=V9X0epQZ2BoMky8oq0qU2fcsfjDWbhcl7ByLoecBMThqX2rGZWtlOwa9q9Euu9z+MYRuR/ICfkudUIbvpP/bhoF3EPD2VByf841T6Sp0BZgVJYdhmrlBJ5GOPzNqHJIgYKmKVCnTD6v2b6GflmTvSWcepAcL4Lgh6PTLnFY3LB0= 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+importer2=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 1677494013231968.4520819363615; Mon, 27 Feb 2023 02:33:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWaop-0000Fy-DO; Mon, 27 Feb 2023 05:33:19 -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 1pWaog-0000DE-1N for qemu-devel@nongnu.org; Mon, 27 Feb 2023 05:33:10 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWaoe-00018t-HB for qemu-devel@nongnu.org; Mon, 27 Feb 2023 05:33:09 -0500 Received: by mail-wr1-x431.google.com with SMTP id l1so2598396wry.12 for ; Mon, 27 Feb 2023 02:33:08 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id c11-20020a056000104b00b002be0b1e556esm6582568wrx.59.2023.02.27.02.33.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Feb 2023 02:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=m2nY1zTRPRbQEspGXz7N1tgrBvNRnVFL1fwTqdC9gz0=; b=KecM5klwA4HxneGKxtXGaoqfmfrgiqzjeNtQD6NlFoIBNcBvJCaO8qJyl+0UNRlhmP 8SvCs1zHuiBlyuwibevl2ph7xVangeWmViftr3NXwoWpERD9HaemzjudoJOKA07xIxG4 bOlzfjdKaN0lzKRkpafLTRtGi7nR072TaobhuGxzVvhNfSdCV3YXEt1rBh9iRQmeqYTQ 4YAYaxwT8viwb3+EyDI+qob2f72CBDB46HMYXJi9m6u0zPo6//9D1hvyMWlVWUtfwxnH g0PEF7jJ/jgjbQb2F3y8B6tdgJbObQ5rbaE9oXgPYLZXoH5lv43JT4fTr/U/NJ4u+q2Z /v2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=m2nY1zTRPRbQEspGXz7N1tgrBvNRnVFL1fwTqdC9gz0=; b=Q4KgChNJwJBs7uN5lpxbYPErBKxnR8/ooMM2y2P0W8LWfqSpUxbZCimYJMAHiJGZ0Q VKuyhR2e2QpNRL5tIUdh91CWXWYQUiVwXueJXoWbJIT60MlBEB3Ltx6CVwX6gDc0q/3u aWHKzvKWcynJ6MJSsYJVJD2GE0fTWknAFLLZr9txFSnrHGh29p93Oj5oCLM67OLh+GoE HYojwCMHjtadjSeZziIDLyMg/vanv4xjoJjhdQeanW86QwlEt6RWiU4XcKQKDxInOn3Z 5/ZnwS/7EVrPCTxvmGHB+RqD3waDC56z4EZ/qzc6B71UYRekDo5jpHOlm8xTJD5I09hH y3vA== X-Gm-Message-State: AO0yUKU9D1i3/sT10AXYaJbean4hZnCvyfygq4IRew5FB/IMdXxO2G4u SvYeTenqEtB+1vKGCn+E24CL8c2pjaY8Z6au X-Google-Smtp-Source: AK7set8kTAR3iq6i+5NThlSnOi/fEVWDeziAj+eISzunJpONSZGJn84ZoBGm8gCJYspuZvS414jd5A== X-Received: by 2002:a5d:56c9:0:b0:2c8:7750:1769 with SMTP id m9-20020a5d56c9000000b002c877501769mr6926294wrw.68.1677493986792; Mon, 27 Feb 2023 02:33:06 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Alex Williamson , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] hw/vfio/migration: Remove unused 'exec/ram_addr.h' header Date: Mon, 27 Feb 2023 11:32:57 +0100 Message-Id: <20230227103258.13295-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230227103258.13295-1-philmd@linaro.org> References: <20230227103258.13295-1-philmd@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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philmd@linaro.org; helo=mail-wr1-x431.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 autolearn=ham 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+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1677494014111100002 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e Reviewed-by: C=C3=A9dric Le Goater --- hw/vfio/migration.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index a2c3d9bade..f9ac074c63 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -24,7 +24,6 @@ #include "migration/misc.h" #include "qapi/error.h" #include "exec/ramlist.h" -#include "exec/ram_addr.h" #include "pci.h" #include "trace.h" #include "hw/hw.h" --=20 2.38.1 From nobody Fri May 3 12:26:07 2024 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1677494030; cv=none; d=zohomail.com; s=zohoarc; b=TR72hQeU/XJ36+Fkk8aHAQWDZ83rOYN5BYyIV/7/12wxZ2Uz2suBpLwA63IZR+9vKg9q4WW4fam+EBnal3ugqPzkGVrwcWW0GREdfE1PH5E04LDxpaynbmQLvb0YJsAifUeqGN6/xa77EmTV+SA3YjbNOAUVNd+zIrNkOHc5QZs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677494030; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SMCVeQ0rUUkrihdTeaeuUllAhYFqzhnhzh04vyn+ero=; b=HOiGR2DrpIc5HiTppA2tskZmL8fjbcK+Kiv/iuSnUtPAVzRl8crzyI3xvCFjiSXXoDfEAquqeS1cPA5ahjqnM22c3ck8vCJpbe6L4c10gRZSTCjUnFriDn4AbesOc7sbxaKfleKXHRI9Bdz2OJJ2u6VtVud7JnU8IcyVPRAP5bU= 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+importer2=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 1677494030399185.01780735456884; Mon, 27 Feb 2023 02:33:50 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWaor-0000Ov-ET; Mon, 27 Feb 2023 05:33:21 -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 1pWaol-0000GF-Nx for qemu-devel@nongnu.org; Mon, 27 Feb 2023 05:33:19 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWaok-0001As-69 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 05:33:15 -0500 Received: by mail-wm1-x32c.google.com with SMTP id d41-20020a05600c4c2900b003e9e066550fso3502524wmp.4 for ; Mon, 27 Feb 2023 02:33:13 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id t23-20020a1c7717000000b003daf672a616sm8519199wmi.22.2023.02.27.02.33.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Feb 2023 02:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=SMCVeQ0rUUkrihdTeaeuUllAhYFqzhnhzh04vyn+ero=; b=GZFI1gokd3RO0o1jJMcCBSmjoCbTw5u9YybjYgvx+wJF8Pi4UPq0Ltpx7+z8BiXadC aIRUIDDA0BPxB+I+A1UrlPuBAcoaTxz0O3m030qBx7dJprVr9+KewLWLiUwLguNFRv0c o1OHCBOLmUqqUn07fWtPuWo9GZg39UR/yHzQs8xk75V0F/DiDaVtwuWtNjcQfyiD1z6Z WXEW76o6CyZKp5k9OSPzEhui3D2C9y/YxRgscXR9yIdfQnCim98hJFdW8UDikdnOwPXQ kUU2fTaDLlFIqJBgAku4Af2rzmVSI6iFc0lC2UlpybW4mEOfd0TSHu9BDPUU7ajsXG35 159Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SMCVeQ0rUUkrihdTeaeuUllAhYFqzhnhzh04vyn+ero=; b=A0betAij4GVbXQ1Kt4+5d825b5r7hrQrmrnP7E+1OjwvKWieNaqouTgxpTWcApmnM9 hGbQOVxV+rVgglh4qfHdChRXJmVFd5nWPmd4Ypmqcz/tMaMeZZnVjOMhjkj5WUEe5QEn PaEpt9Kco8b04MHdoAlwOGABk1HNqQvPMxnYAxW597NQUQlOqgS3OOOzWKEaZBfHWMPV B9reKq9hwrekZXK1hdairJ4UVoOiwV7XNg/K7mOyk/WVNjumkUBZfk5fzsWjHFE8vT6A +nORcK4HDsrTLeuWU+cfoXRGY2Azj+h2+Ol8kltSgiOOMB4I1EOr6Mj75xJO8lroIeHx 2g1A== X-Gm-Message-State: AO0yUKVS5ithrmnR2xnA8v24lq7pbCE1oZKpNxMkU1EA/Vx6/thD+jdZ MZ2rQg6jvwriwhvEnUVRZYXlisboJ1i56OTh X-Google-Smtp-Source: AK7set9DYZ8xF+46MH/YV7WpH13uDxrJwh7JgiO3LAgoqOzKHcXTz6HidvyL8hl9W5hQtC2azyE5Pg== X-Received: by 2002:a05:600c:18a1:b0:3eb:2de8:b72a with SMTP id x33-20020a05600c18a100b003eb2de8b72amr6866432wmp.7.1677493992759; Mon, 27 Feb 2023 02:33:12 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Alex Williamson , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] hw/vfio: Build various target-independent objects once Date: Mon, 27 Feb 2023 11:32:58 +0100 Message-Id: <20230227103258.13295-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230227103258.13295-1-philmd@linaro.org> References: <20230227103258.13295-1-philmd@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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.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 autolearn=ham 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+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1677494032004100001 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/vfio/meson.build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index da9af297a0..a1ed62245a 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -1,19 +1,22 @@ +softmmu_ss.add(files( + 'migration.c', +)) +softmmu_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files('display.c')) +softmmu_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c'= )) +softmmu_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c')) +softmmu_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c')) + vfio_ss =3D ss.source_set() vfio_ss.add(files( 'common.c', 'spapr.c', - 'migration.c', )) vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( - 'display.c', 'pci-quirks.c', 'pci.c', )) vfio_ss.add(when: 'CONFIG_VFIO_CCW', if_true: files('ccw.c')) vfio_ss.add(when: 'CONFIG_VFIO_PLATFORM', if_true: files('platform.c')) -vfio_ss.add(when: 'CONFIG_VFIO_XGMAC', if_true: files('calxeda-xgmac.c')) -vfio_ss.add(when: 'CONFIG_VFIO_AMD_XGBE', if_true: files('amd-xgbe.c')) vfio_ss.add(when: 'CONFIG_VFIO_AP', if_true: files('ap.c')) -vfio_ss.add(when: 'CONFIG_VFIO_IGD', if_true: files('igd.c')) =20 specific_ss.add_all(when: 'CONFIG_VFIO', if_true: vfio_ss) --=20 2.38.1