From patchwork Mon Oct 30 03:05:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 831845 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UtMJBmPM"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQKHp2hmXz9t2r for ; Mon, 30 Oct 2017 14:11:02 +1100 (AEDT) Received: from localhost ([::1]:38489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90Tc-0006QH-D9 for incoming@patchwork.ozlabs.org; Sun, 29 Oct 2017 23:11:00 -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) 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) 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) From: =?utf-8?q?Philippe_Mathieu-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 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_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é --- 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 later. + * 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) += translate.o obj-$(CONFIG_TCG) += bpt_helper.o cc_helper.o excp_helper.o fpu_helper.o obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o mpx_helper.o obj-$(CONFIG_TCG) += seg_helper.o smm_helper.o svm_helper.o +obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o obj-$(CONFIG_SOFTMMU) += machine.o arch_memory_mapping.o arch_dump.o monitor.o obj-$(CONFIG_KVM) += kvm.o hyperv.o obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o From patchwork Mon Oct 30 03:05:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 831843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="j1bnxJsR"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQKDy1GfZz9t2r for ; Mon, 30 Oct 2017 14:08:34 +1100 (AEDT) Received: from localhost ([::1]:38477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90RE-0004Li-6p for incoming@patchwork.ozlabs.org; Sun, 29 Oct 2017 23:08:32 -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) 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) 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) From: =?utf-8?q?Philippe_Mathieu-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 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_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é --- 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 later. + * 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 += cpu.o cpu_models.o cpu_features.o gdbstub.o interrupt.o helper.o obj-$(CONFIG_TCG) += translate.o cc_helper.o excp_helper.o fpu_helper.o obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o crypto_helper.o +obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o obj-$(CONFIG_SOFTMMU) += sigp.o obj-$(CONFIG_KVM) += kvm.o From patchwork Mon Oct 30 03:05:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 831844 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="H9NgL6NZ"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQKFy3N9Cz9t2r for ; Mon, 30 Oct 2017 14:09:26 +1100 (AEDT) Received: from localhost ([::1]:38478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90S4-00051j-Dr for incoming@patchwork.ozlabs.org; Sun, 29 Oct 2017 23:09:24 -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) 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) 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) From: =?utf-8?q?Philippe_Mathieu-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 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_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é --- 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) +{ +} From patchwork Mon Oct 30 03:05:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 831846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jmhPK3l2"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQKJ705wxz9t2r for ; Mon, 30 Oct 2017 14:11:18 +1100 (AEDT) Received: from localhost ([::1]:38490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90Ts-0006ZU-Vn for incoming@patchwork.ozlabs.org; Sun, 29 Oct 2017 23:11:17 -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) 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) 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) From: =?utf-8?q?Philippe_Mathieu-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 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_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é --- 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) +{ +}