From nobody Sun Nov 2 12:03:26 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