From nobody Tue Feb 10 20:49:47 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 ARC-Seal: i=1; a=rsa-sha256; t=1591357837; cv=none; d=zohomail.com; s=zohoarc; b=bl97LPWcYWgb2b2FXV28wsEyblGNx54mbij8i8PB7G2cMhp/es18KPfGBHtlIOzoJWtrN4DNLjO0qlVVdm6/mxA48cZwN3dvF3nTInL/EkAUP3nU413YD5esySbwx/PSZ5jZyjPv3PJ9ufHbBxmPrOa9/H5CGk7PH6AWdGSJ0Jo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591357837; 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=alLv5iIVgtUFXTyDgmuBt2gR8AB4HzjchopDcxZWKRc=; b=MiqE6vThN3+kni0wIsbjhJxgSNDr1uIRZb/AR/Mq+hnpf6zS5W9g2SZoYOziP7IRda4e0JXl1M0NtHBIM+DJMmgI6XwpTOLX3D/g1oF3vkG9h26n82Lvpgh3io/Aptl/SvYHnDagdhrMuhmZ2jmUfUv2qyVz9A/bwpELgaemT/o= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1591357837635423.2579648426773; Fri, 5 Jun 2020 04:50:37 -0700 (PDT) Received: from localhost ([::1]:40800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhArs-00050l-8Z for importer@patchew.org; Fri, 05 Jun 2020 07:50:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhAoh-0008EY-AG for qemu-devel@nongnu.org; Fri, 05 Jun 2020 07:47:19 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:43681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhAoe-0006iN-15 for qemu-devel@nongnu.org; Fri, 05 Jun 2020 07:47:19 -0400 Received: from localhost.localdomain ([82.252.135.106]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MBDzc-1joItq02H8-00Cgsz; Fri, 05 Jun 2020 13:47:12 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 12/19] stubs/Makefile: Reduce the user-mode object list Date: Fri, 5 Jun 2020 13:46:53 +0200 Message-Id: <20200605114700.1052050-13-laurent@vivier.eu> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605114700.1052050-1-laurent@vivier.eu> References: <20200605114700.1052050-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:o6yxUzAJ+EbUPUl5mF2vB1ArVVZM207EPI0BqVf5XnDMEkm9I4C qvSDy/HlxrFqUbybUOQ+I+GegQqmGfWb7AsrXxoW9eq8YHVYhKNiMeAA/UHI0I1g/aaUMIo KTCJJW25sBXA+/Hj7PTcOIVRkWbchRool2Nj785WYQDNBt2oLqbrfHdoFLx7nlc1o0dx2W4 sTUJthEluVDfzF+95HUWA== X-UI-Out-Filterresults: notjunk:1;V03:K0:wPCU3FBInFE=:s2Qz8gE8GHwzhdjvbr1xge 4ZR8kzfY30DbI0Xs6f/khNUBgkacxu/eRimsLgH/HYw4uqQaYyg53bV04ZLoq6EDykdruHGdi bmQ2hfquLRw0+QuKHPpnaTKXs8GzpJ/21x9thTAJ99p7Tj+7CZjccZrQnvAzNy4YwnmdBCqvt FEyIvNsuIy3WSZrElARpChQwbEqfK0qe2PoTBa5/G2zFbD4tdm9NACEu1uSgYw/VsDK7YZe5e +5duwGEr2WjsdOfSM3fk50qzTiV8X7y+qGcoA4BfRmPn+9kOJ9SY2joYnk1Et81z4XG7Yk+gQ OoM0MDZa3txG7uRWi4gI/49ZBAWcBcqx/NVHxTMuKl6QmzFO4YfKnoNuWLYI9H8wh39Gxyd9M wGka8AgURKykeioPmMT/nOszNAXmywdbCFEemDcLyVOZv09GkfRZD373hixOY1WvOIDHmKINr uWdae7b8NL87TD/QoKl0nY0efOU6wEXkuu5HZf1m5K2LsEiIne1vEFU32b3mkgtssChkcgp3K 4oi0huHncpiewVHzOJHOqGuCGRK60O5DgRjODgYl3uUOZagrqZBmh9hQB05WEV0wmiUzviP9v aP3pTOilNmtzbnIGEbURh+WnzLOoycJhXiFrzo58mKlYmkvHEmZzrkjRX1eWZYeZXB83afB89 QGo9grGzXJweCU8hlQXmIpWUkLaz5D1SI09vZ/ZY507pTHR5mmWTUACD5jniciz89hl8qyl+C dGxNYuNRlTq/rqYBkCgsbw1ePRJ7pfFVEi7rjcnaofqacLMsHFMQNP52s9c7KtqzkY+nI9T9Y Mg/GM+9LQPIVmc5VbM8CLtFG598YMhIQkJzfQhMlI4A64RuaIeRtqlTNZRM0heK1/rrujAL 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: none client-ip=212.227.17.24; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 07:47:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , Riku Voipio , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daud=C3=A9 These stubs are not required when configured with --disable-system. Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Tested-by: Laurent Vivier Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20200522172510.25784-7-philmd@redhat.com> Signed-off-by: Laurent Vivier --- stubs/Makefile.objs | 50 ++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index 6a9e3135e8f9..f54125de317d 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -1,47 +1,55 @@ -stub-obj-y +=3D arch_type.o -stub-obj-y +=3D bdrv-next-monitor-owned.o stub-obj-y +=3D blk-commit-all.o -stub-obj-y +=3D blockdev-close-all-bdrv-states.o -stub-obj-y +=3D clock-warp.o stub-obj-y +=3D cpu-get-clock.o stub-obj-y +=3D cpu-get-icount.o stub-obj-y +=3D dump.o stub-obj-y +=3D error-printf.o stub-obj-y +=3D fdset.o stub-obj-y +=3D gdbstub.o -stub-obj-y +=3D get-vm-name.o -stub-obj-y +=3D iothread.o stub-obj-y +=3D iothread-lock.o stub-obj-y +=3D is-daemonized.o stub-obj-$(CONFIG_LINUX_AIO) +=3D linux-aio.o stub-obj-$(CONFIG_LINUX_IO_URING) +=3D io_uring.o -stub-obj-y +=3D machine-init-done.o -stub-obj-y +=3D migr-blocker.o -stub-obj-y +=3D change-state-handler.o -stub-obj-y +=3D monitor.o stub-obj-y +=3D monitor-core.o stub-obj-y +=3D notify-event.o +stub-obj-y +=3D qmp_memory_device.o stub-obj-y +=3D qtest.o +stub-obj-y +=3D ramfb.o stub-obj-y +=3D replay.o -stub-obj-y +=3D replay-user.o stub-obj-y +=3D runstate-check.o +stub-obj-$(CONFIG_SOFTMMU) +=3D semihost.o stub-obj-y +=3D set-fd-handler.o +stub-obj-y +=3D vmgenid.o stub-obj-y +=3D sysbus.o stub-obj-y +=3D tpm.o stub-obj-y +=3D trace-control.o -stub-obj-y +=3D uuid.o -stub-obj-y +=3D vm-stop.o stub-obj-y +=3D vmstate.o stub-obj-y +=3D win32-kbd-hook.o + +####################################################################### +# code used by both qemu system emulation and qemu-img + +ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y) + +stub-obj-y +=3D arch_type.o +stub-obj-y +=3D bdrv-next-monitor-owned.o +stub-obj-y +=3D blockdev-close-all-bdrv-states.o +stub-obj-y +=3D change-state-handler.o +stub-obj-y +=3D clock-warp.o stub-obj-y +=3D fd-register.o -stub-obj-y +=3D qmp_memory_device.o -stub-obj-y +=3D target-monitor-defs.o +stub-obj-y +=3D fw_cfg.o +stub-obj-y +=3D get-vm-name.o +stub-obj-y +=3D iothread.o +stub-obj-y +=3D machine-init-done.o +stub-obj-y +=3D migr-blocker.o +stub-obj-y +=3D monitor.o +stub-obj-y +=3D pci-host-piix.o +stub-obj-y +=3D ram-block.o +stub-obj-y +=3D replay-user.o stub-obj-y +=3D target-get-monitor-def.o -stub-obj-y +=3D vmgenid.o +stub-obj-y +=3D target-monitor-defs.o +stub-obj-y +=3D uuid.o +stub-obj-y +=3D vm-stop.o stub-obj-y +=3D xen-common.o stub-obj-y +=3D xen-hvm.o -stub-obj-y +=3D pci-host-piix.o -stub-obj-y +=3D ram-block.o -stub-obj-y +=3D ramfb.o -stub-obj-y +=3D fw_cfg.o -stub-obj-$(CONFIG_SOFTMMU) +=3D semihost.o + +endif # CONFIG_SOFTMMU || CONFIG_TOOLS --=20 2.26.2