From nobody Mon Apr 29 13:17:11 2024 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; 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 151134018837658.04862148535119; Wed, 22 Nov 2017 00:43:08 -0800 (PST) Received: from localhost ([::1]:38382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHQcV-00071p-KX for importer@patchew.org; Wed, 22 Nov 2017 03:42:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHQbf-0006Jn-RB for qemu-devel@nongnu.org; Wed, 22 Nov 2017 03:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHQbc-0002Sw-L5 for qemu-devel@nongnu.org; Wed, 22 Nov 2017 03:42:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47472) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHQbc-0002Se-Ep for qemu-devel@nongnu.org; Wed, 22 Nov 2017 03:42:04 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 78CC04E05D for ; Wed, 22 Nov 2017 08:42:03 +0000 (UTC) Received: from secure.mitica (ovpn-116-72.ams2.redhat.com [10.36.116.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 858035D964; Wed, 22 Nov 2017 08:41:58 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 22 Nov 2017 09:41:57 +0100 Message-Id: <20171122084157.11480-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 22 Nov 2017 08:42:03 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] tcg: Fix complilation with TCG 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: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This commit started use tb_unlock() and tlb_set_dirty() on non TCG code. Add the function as stubs. commit 27266271977c5a30f2f7d493e042be1897827bdd Author: Peter Maydell Date: Mon Nov 20 18:08:27 2017 +0000 exec.c: Factor out before/after actions for notdirty memory writes .... Signed-off-by: Juan Quintela Acked-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- accel/stubs/tcg-stub.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index 5dd480b1a2..ee575a8718 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -20,3 +20,11 @@ void tb_flush(CPUState *cpu) { } + +void tb_unlock(void) +{ +} + +void tlb_set_dirty(CPUState *cpu, target_ulong vaddr) +{ +} --=20 2.13.6