From nobody Sat Nov 1 22:27:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1509332970816680.7663663722324; Sun, 29 Oct 2017 20:09:30 -0700 (PDT) Received: from localhost ([::1]:38479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90S4-0005Dw-Fj for importer@patchew.org; Sun, 29 Oct 2017 23:09:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QA-0004BZ-BQ for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90Q9-0007Ax-9w for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:26 -0400 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]:46678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90Q9-0007Ag-5h for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:25 -0400 Received: by mail-qk0-x243.google.com with SMTP id k123so14527625qke.3 for ; Sun, 29 Oct 2017 20:07:25 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IpPY5VFWNYHbaXe8YUgnzFdvOtJw2gtUhG05iUmLeok=; b=OWGRFi3vKM6fgkD1cXriFHBuuWARhB3JfuEoeMzEgfMlrYaFVrqSq64ZLZc3brORvx bNEcEMhqPHRw/FPTkhrmKZmZowVSWs10o5spy/1+DyuOhvYd1F0I8Mwk05nmJiKutQwq H5cESMMWEAWEfM4u4kJmfqoNAo//1Rt1eOp6woNNe/jijbFmlkPr3Bu6bwgEF5yCNh0W RgtkcYEQ5J2DRmpzOXj+f20gfaLkyEdp5pfbz7i1aHTNo2GW/IPHLrJjkLLiUJiWIxSz f5nazIozk7vpHBAmh4RG0xcuES0SH/VPrwx9ZNDx0Nc4rB3FovtJGZKDE0fh9IkZ40t9 0xqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=IpPY5VFWNYHbaXe8YUgnzFdvOtJw2gtUhG05iUmLeok=; b=sO6YaqgQstnm1DzOIXA4fdxHUszNnAdilVnzT+Ro02jDueJjWsDy8lAk9rGrUB7Llm OR91FPX0feE4We1s8Q2RkN+q1WLiHCcz4OzjkuCyFyNt5oNjprrYvV15ziEe3V5qVHbI abSGP/bNH/SGj8N9w+BZ12nWwUcRUrMYx+XOYCOaE/xVGUCrxkyk9GESFY2iOT77zV7e +gM4aTJIBOsMBFvbABPHs+VeGhobQyb5/ObXivRFKlME0tj87vKg1IWTV1pSutFdZTqs yUlQdCGZpoIRZjAGKLEsrWsvItjk5UVrr4Ul/iGeghloviupByy+C4QZXuAfpvwW1ksK q9Kw== X-Gm-Message-State: AMCzsaUc0PN60qhhQQ0blhF8fmSDOlZgPIu/LqZ6bmp89mvht/lASlx0 oL2xmpHmdhzNKlef7OFKauc= X-Google-Smtp-Source: ABhQp+RlQAVHgA22I3dvbmC6nMj2nsOYLDPXwYnSUNHWs1cPi33Pb7QCjLO3oFO6DAg2tHNuGETdSg== X-Received: by 10.55.182.135 with SMTP id g129mr11192595qkf.227.1509332844699; Sun, 29 Oct 2017 20:07:24 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Yang Zhong Date: Mon, 30 Oct 2017 00:05:49 -0300 Message-Id: <20171030030553.21259-2-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::243 Subject: [Qemu-devel] [PATCH 1/5] accel/tcg: add missing target-independent stubs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 missing since 44eff67341: LINK x86_64-softmmu/qemu-system-x86_64 exec.o: In function `tlb_reset_dirty_range_all': exec.c:1070: undefined reference to `tlb_reset_dirty' exec.o: In function `tcg_commit': exec.c:2704: undefined reference to `cpu_reloading_memory_map' cpus.o: In function `tcg_cpu_exec': cpus.c:1270: undefined reference to `cpu_exec' cpus.o: In function `qemu_tcg_rr_cpu_thread_fn': cpus.c:1374: undefined reference to `cpu_exec_step_atomic' cpus.o: In function `qemu_tcg_cpu_thread_fn': cpus.c:1490: undefined reference to `cpu_exec_step_atomic' cpus.o: In function `qemu_tcg_init_vcpu': cpus.c:1675: undefined reference to `parallel_cpus' Suggested-by: Eduardo Habkost Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- accel/stubs/tcg-stub.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index 5dd480b1a2..74ce45ea07 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -17,6 +17,25 @@ #include "exec/cpu-common.h" #include "exec/exec-all.h" =20 +bool parallel_cpus; + void tb_flush(CPUState *cpu) { } + +void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length) +{ +} + +int cpu_exec(CPUState *cpu) +{ + return -1; +} + +void cpu_exec_step_atomic(CPUState *cpu) +{ +} + +void cpu_reloading_memory_map(void) +{ +} --=20 2.15.0.rc2 From nobody Sat Nov 1 22:27:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 150933312704785.74376531987332; Sun, 29 Oct 2017 20:12:07 -0700 (PDT) Received: from localhost ([::1]:38493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90UW-0007Cg-7G for importer@patchew.org; Sun, 29 Oct 2017 23:11:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QG-0004FV-IN for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90QC-0007DG-ME for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:32 -0400 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:53056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90QC-0007Co-Hv for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:28 -0400 Received: by mail-qk0-x241.google.com with SMTP id b15so14491807qkg.9 for ; Sun, 29 Oct 2017 20:07:28 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=amr8/5dlddto3SFO8RjfzLDXNXOehh5r5/JWLFwJDU4=; b=UtMJBmPMtnkGmkE5JKDuSdtrg6heMJp0viRq1jKtYNEDNIOr/cAcUGh/EIFhLh5fIV iRRfR5/PSEduvx0OBauK8w3o6s0kcuAJlmEjsEKQtrUbL8SYOPNbP/xwscbG+FCaVi15 0b8ek/GMZf3xiS5lZ43Mz6easzjkF+XIYcR5bhdtY0NNvz1OI6AiOeI0LB9ZBJFOVqw8 4NwAGSxJqGHev+2qxXZ4RyJlSNo0Iy2vEfqXt2nZK7xhmq+tET7yY6yQuI/TYhClhp9Q 7THAPRXss44k7MSNs6aGB8dA+Otf2trHcXcx0ouPJZrUh1xTW/9xic32q8pYubUW5Awo rLsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=amr8/5dlddto3SFO8RjfzLDXNXOehh5r5/JWLFwJDU4=; b=OwYiDuzLCkvpSslTAcmXH2hhVGLESjTp/BrYXRNCxDGx5s2hiMLCw5AdCD7Oj+myrn 7MVNZ74TE0Cl5M9GXNaQPnsHbKYcuT1eUyzZviDOFwbaB1NNLz7PUrekZ5om3CY3nvjd OtDu7rebT0e6zVy+WodZVgYrSBBpjfmuyiJVwt9pU6zuK1/UWn2j0oC5xSxp7wE2JyBU tiu3iSmFUoRp9tMZiVGFPZ04FyxhQ2pa//aNPUV7gT5PMOXNC/IUIo71yYvr1MCHvP58 13YCzgQWzMwAXzkpPdxBGq7ZlhN3OixkC75GD3RFYJMhsQJ/siVLckiNwBOBd3/qvpJ7 3Zeg== X-Gm-Message-State: AMCzsaWc7xLLD2NdHQh9kOpEDainX5RhubqBRB0OY/gki9a0gQlRDtoC bdfm4w8dZ4u2PgwIYL/O6I4= X-Google-Smtp-Source: ABhQp+SmFlZh25M2fWnLY0nwI6YKTD316Tb4BJLmahhvofxsshTZjboaSOQyVI279DE06JsHAxypZA== X-Received: by 10.55.52.147 with SMTP id b141mr11553403qka.76.1509332848102; Sun, 29 Oct 2017 20:07:28 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Yang Zhong Date: Mon, 30 Oct 2017 00:05:50 -0300 Message-Id: <20171030030553.21259-3-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::241 Subject: [Qemu-devel] [PATCH 2/5] target/i386: tcg stubs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 missing since 55c3ceef61: LINK x86_64-softmmu/qemu-system-x86_64 target/i386/cpu.o: In function `x86_cpu_common_class_init': target/i386/cpu.c:4215: undefined reference to `tcg_x86_init' Suggested-by: Eduardo Habkost Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/i386/tcg-stub.c | 13 +++++++++++++ target/i386/Makefile.objs | 1 + 2 files changed, 14 insertions(+) create mode 100644 target/i386/tcg-stub.c diff --git a/target/i386/tcg-stub.c b/target/i386/tcg-stub.c new file mode 100644 index 0000000000..e13d993a80 --- /dev/null +++ b/target/i386/tcg-stub.c @@ -0,0 +1,13 @@ +/* + * QEMU TCG x86 specific function stubs + * + * This work is licensed under the terms of the GNU GPL, version 2 or late= r. + * See the COPYING file in the top-level directory. + * + */ +#include "qemu/osdep.h" +#include "cpu.h" + +void tcg_x86_init(void) +{ +} diff --git a/target/i386/Makefile.objs b/target/i386/Makefile.objs index 6a26e9d9f0..2b3db1e5c2 100644 --- a/target/i386/Makefile.objs +++ b/target/i386/Makefile.objs @@ -3,6 +3,7 @@ obj-$(CONFIG_TCG) +=3D translate.o obj-$(CONFIG_TCG) +=3D bpt_helper.o cc_helper.o excp_helper.o fpu_helper.o obj-$(CONFIG_TCG) +=3D int_helper.o mem_helper.o misc_helper.o mpx_helper.o obj-$(CONFIG_TCG) +=3D seg_helper.o smm_helper.o svm_helper.o +obj-$(call lnot,$(CONFIG_TCG)) +=3D tcg-stub.o obj-$(CONFIG_SOFTMMU) +=3D machine.o arch_memory_mapping.o arch_dump.o mon= itor.o obj-$(CONFIG_KVM) +=3D kvm.o hyperv.o obj-$(call lnot,$(CONFIG_KVM)) +=3D kvm-stub.o --=20 2.15.0.rc2 From nobody Sat Nov 1 22:27:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1509332983746291.5151023458184; Sun, 29 Oct 2017 20:09:43 -0700 (PDT) Received: from localhost ([::1]:38481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90SM-0005SG-Pv for importer@patchew.org; Sun, 29 Oct 2017 23:09:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QJ-0004I2-O7 for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90QG-0007Ie-PM for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:35 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:43263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90QG-0007Hw-L3; Sun, 29 Oct 2017 23:07:32 -0400 Received: by mail-qt0-x243.google.com with SMTP id j58so14738847qtj.0; Sun, 29 Oct 2017 20:07:32 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TWR8A64FAM1ReZJWpot4YCXvUN6RmwK83v/MgiuRSIw=; b=j1bnxJsRvNGtfu230dj8qlTDRIZydaOT5UY2evgXF5kqFXrBSgm+eErQDFEppb8tpe cxCoa+PNlWX0M6cO7bwCLHwrkursLMZqJY4jncvFBAtNEXKHkxmgI9/pmPhi2yJsGPjW OdGxNchSagmR5p/jqc1ACIX1J8YDwvsp4ZzNQ6xk2HNAE5Tqwb2sgiNR2EfTRHm0xknZ 8Pb6TojUFCoE4gsfCbwq3M07HfsnMuUW2off68WdsgMUxhNQV3qEWHn0ab7YosHKkT7U AZFY/ugO30bbuRbSsn2x9m8cO32vHqovP3UgyTY06spMz3/wPlQXY2nv3wqhCE6AlKaF FY9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TWR8A64FAM1ReZJWpot4YCXvUN6RmwK83v/MgiuRSIw=; b=tcrg4m64GbGR1rpjNIuXml200LOaQdFCwISsTcfJAHNu/mvBtT7wsNcZnDUxDBQ3gs 5pRcSolyFEKmnTDvWFF5d1ZrZwl94eDk5j9jKEwNEtk+LzcxPWwfgE/2gv3H0qhU0/GB 3HeHHfeyfx02VM2y07TxnY9OQWwNPnuTjDo9Iwr1RZFlPef4blY0J8aq7+FHyuo3aTa4 olJtbaX/BOWvKWhCXRjVNz7YbcmiyWdJnAuPBfZiTwhEPeXuLgDNGftL4cZASLrxkNvw maGj9DqCUPW/bJ/W5X4+wV+h4EPaVVLKDozjAZ/rztqsQrlxTRZwnUCMflQjjx30RztW Igbg== X-Gm-Message-State: AMCzsaVhUSPjQ1piU9ws0s9uvembna8W54kImBQgBQi7JE0FIBDounJ3 YWJVtY+HI+0TN/f0U++Merw= X-Google-Smtp-Source: ABhQp+Qllm32E0bEC3x004CFbrJWIxXh965kopTLjNVz8A5oTHE4sICTkWvkGkO1OySlcovhlwaIeg== X-Received: by 10.200.34.239 with SMTP id g44mr11299680qta.111.1509332852132; Sun, 29 Oct 2017 20:07:32 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Richard Henderson , Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Alexander Graf Date: Mon, 30 Oct 2017 00:05:51 -0300 Message-Id: <20171030030553.21259-4-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 3/5] target/s390x: tcg stubs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-s390x@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 missing since 55c3ceef61: LINK s390x-softmmu/qemu-system-s390x target/s390x/cpu.o: In function `s390_cpu_class_init': target/s390x/cpu.c:500: undefined reference to `s390x_translate_init' Suggested-by: Eduardo Habkost Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/s390x/tcg-stub.c | 13 +++++++++++++ target/s390x/Makefile.objs | 1 + 2 files changed, 14 insertions(+) create mode 100644 target/s390x/tcg-stub.c diff --git a/target/s390x/tcg-stub.c b/target/s390x/tcg-stub.c new file mode 100644 index 0000000000..1e3ed46e89 --- /dev/null +++ b/target/s390x/tcg-stub.c @@ -0,0 +1,13 @@ +/* + * QEMU TCG support -- s390x specific function stubs. + * + * This work is licensed under the terms of the GNU GPL, version 2 or late= r. + * See the COPYING file in the top-level directory. + */ + +#include "qemu/osdep.h" +#include "internal.h" + +void s390x_translate_init(void) +{ +} diff --git a/target/s390x/Makefile.objs b/target/s390x/Makefile.objs index 31932de9cf..31dd498d01 100644 --- a/target/s390x/Makefile.objs +++ b/target/s390x/Makefile.objs @@ -1,6 +1,7 @@ obj-y +=3D cpu.o cpu_models.o cpu_features.o gdbstub.o interrupt.o helper.o obj-$(CONFIG_TCG) +=3D translate.o cc_helper.o excp_helper.o fpu_helper.o obj-$(CONFIG_TCG) +=3D int_helper.o mem_helper.o misc_helper.o crypto_help= er.o +obj-$(call lnot,$(CONFIG_TCG)) +=3D tcg-stub.o obj-$(CONFIG_SOFTMMU) +=3D machine.o ioinst.o arch_dump.o mmu_helper.o dia= g.o obj-$(CONFIG_SOFTMMU) +=3D sigp.o obj-$(CONFIG_KVM) +=3D kvm.o --=20 2.15.0.rc2 From nobody Sat Nov 1 22:27:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1509333045150915.7729992311033; Sun, 29 Oct 2017 20:10:45 -0700 (PDT) Received: from localhost ([::1]:38484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90TH-00068X-5z for importer@patchew.org; Sun, 29 Oct 2017 23:10:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QK-0004I4-Ts for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90QK-0007LR-2Z for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:36 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:48607) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90QJ-0007Kw-VM for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:36 -0400 Received: by mail-qt0-x244.google.com with SMTP id f8so14727086qta.5 for ; Sun, 29 Oct 2017 20:07:35 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TwVwPYEGDanRZb6c14erc76dY6Akk9r/3xJxXNSNVuQ=; b=H9NgL6NZw0LIfjIF37MEur2Zm/ixvX+Pv1MlCw1FwVHoo0AwpYwv6bRrCP69T3q7pe y9yjXLqgNalF1SUQH4xj5tlUHy0uLJFBl+S1s8wPvgwz4abq1k59Rpoxr64n1AWyhPxR Jiz38k7hqptZvvQpNGyjo3VuYaC4zSAEeb+EXFruRIh8+WHVePqAwXuhVAUnqkHn7vqK 9Cpfybj0YJG3fKQB5pnSnTftbDPekXgsO9iHZ10HLTOz9V/t9cYWJgpd/y58D0TQ0JYx EppScWijrbds3jzgqDkioR9PhynI/P3mp5dHq0ZyGuU+JlYLbq8IZJ8cKb7flj0qnMOv Zmjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TwVwPYEGDanRZb6c14erc76dY6Akk9r/3xJxXNSNVuQ=; b=bXci8u6vCcKz/5jH+xwPfwgZ+1N7j5vyr/7G8ySdzGoYjl22yuTaVXcWNix4B/LtGf vuKQKVlFV01qOEMSX61OnTGAvZI4XZDeJwW3gAxkQoBJjcm1l7MzDsmpmJen+L24fx5E kgdXRcIYKhvzebVm6x+MsaFnQakdRLntV7Bcp1h8p9i3/sQyuW872qIn5rN5wYGZIhY/ 2og9vl2/NKF+NL6QY/ZEvNXgjaR14hrnvvAgVHH7eJDkf10Ovs+YxspMqW53jQf5L9pv Bx5jgsd7WscMtcf1sd4aNXYkmQxGyJpF8mnbtq9OwO0bM7d+6QNHJTfsvj4ftXnjd1vV vNdw== X-Gm-Message-State: AMCzsaVNY3NXgPyKZlqjvvHyqNgelzb6snqyeB47E/2hcNCWUxhOdjIz /w7eWXV1qBAQOHbPlyLq3/c= X-Google-Smtp-Source: ABhQp+QcqCgKYXraEyk5LRiNgIsPQglKp8FeWFzNtTykGYSlAzlr0Iqm69W32GvoYsyYy1ci8u3Q8A== X-Received: by 10.200.50.230 with SMTP id a35mr11763796qtb.226.1509332855533; Sun, 29 Oct 2017 20:07:35 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Yang Zhong Date: Mon, 30 Oct 2017 00:05:52 -0300 Message-Id: <20171030030553.21259-5-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH 4/5] accel/tcg: add a stub for tcg_region_init() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 missing since e8feb96fcc: LINK x86_64-softmmu/qemu-system-x86_64 cpus.o: In function `qemu_tcg_init_vcpu': cpus.c:1677: undefined reference to `tcg_region_init' Suggested-by: Eduardo Habkost Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- accel/stubs/tcg-stub.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index 74ce45ea07..842a9cd352 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -39,3 +39,7 @@ void cpu_exec_step_atomic(CPUState *cpu) void cpu_reloading_memory_map(void) { } + +void tcg_region_init(void) +{ +} --=20 2.15.0.rc2 From nobody Sat Nov 1 22:27:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1509333130367753.2437839471668; Sun, 29 Oct 2017 20:12:10 -0700 (PDT) Received: from localhost ([::1]:38494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90Uj-0007Jt-JS for importer@patchew.org; Sun, 29 Oct 2017 23:12:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QO-0004Kj-UO for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90QO-0007OL-2p for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:40 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:49520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90QN-0007Ne-UW for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:40 -0400 Received: by mail-qk0-x242.google.com with SMTP id q83so14509835qke.6 for ; Sun, 29 Oct 2017 20:07:39 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Uwmqhk2qKesMYqzf2UCLbbwwNUOZ+SDWHymrP0LsQ+A=; b=jmhPK3l2SELO7m9CHzmjgaP15gX6fZw+ZwYfh6pZC2Y8GA1pZ+y4LxkwShEwbKyvo2 3rj7GOfx5HJeF7eGOu1RXJ2befKYcWGl26AkPmaqQgT+RJBFGFEpwfcZahHT6o0on/dd yuJ95S6l8Idan716/88ymqHc49X7iyH2e6ycgRhfuux06ebtDESytkPd/v1f3Oxkelk0 r4DxsYIJOFFB0LJ7FQiSNwZ00mjjOThDiWsGIWcOh7cED/6xZjFFtueqMpZ0dRPerGEg NlVrRc5HvMApZUyGcaL+VmHFYR35Hg7liiuJlZrmHlKG8oo5ed1z+G7Y2N1jhJ6gzpdm 9TeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Uwmqhk2qKesMYqzf2UCLbbwwNUOZ+SDWHymrP0LsQ+A=; b=YwZ2iyQvCMuGePevl7NrlxVPTVR0Hf8awmhojVM1M04zDQOmhiPX4RZdkjggDTk91i C/3FPeuypilVG0aCY2WTxPl8rIIeRnMNoBuv6IM90OCDsIXp8m/NRqI+3rW2MaG0sgh6 irx0PGcSZX2k+KfoObCRKT6y/YvVbDfBq8FuouZCbLuUpR6o4btlvSvEeG+Sr3N5kmHP Veb6RrLQ0RVPK/kJ/sZzQN/Tl100ihQNTEvW58eaTE7d/fZlX26ooAkCoVDN9gLODKdO /eONfz7ZLYBRcEl5HKYr6G07U1W2ZFZZbVu4QteRmiPjRaiCa8nbxqbOOLnRPnEejocu vcvw== X-Gm-Message-State: AMCzsaWp75MYou/cKtOTswMb72ryUoRyn7jTMBse2/J8YaEQ8An8goTt QZBc9KPEb16LAV2QFY7fAV0= X-Google-Smtp-Source: ABhQp+RQYNpwgp5sz4uVmwaoRkkoZtvw6Rx2//S6Diqzqw6F3Yjf18CmP232bdSdumMIBX/9xYeGWA== X-Received: by 10.55.26.138 with SMTP id l10mr11732732qkh.71.1509332859490; Sun, 29 Oct 2017 20:07:39 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Yang Zhong Date: Mon, 30 Oct 2017 00:05:53 -0300 Message-Id: <20171030030553.21259-6-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::242 Subject: [Qemu-devel] [PATCH 5/5] accel/tcg: add a stub for tcg_register_thread() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 missing since 3468b59e18: LINK x86_64-softmmu/qemu-system-x86_64 cpus.o: In function `qemu_tcg_rr_cpu_thread_fn': cpus.c:1310: undefined reference to `tcg_register_thread' cpus.o: In function `qemu_tcg_cpu_thread_fn': cpus.c:1458: undefined reference to `tcg_register_thread' Suggested-by: Eduardo Habkost Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- accel/stubs/tcg-stub.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index 842a9cd352..8ec3885594 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -43,3 +43,7 @@ void cpu_reloading_memory_map(void) void tcg_region_init(void) { } + +void tcg_register_thread(void) +{ +} --=20 2.15.0.rc2