From patchwork Fri Jun 4 15:52:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 454095 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp575747jae; Fri, 4 Jun 2021 09:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUjKkVEbFbS66aog6TQDQ3tiJKNuPxT73wPcjP8gZGUtPM227iaK1wq8TeLx+/RzxchpQc X-Received: by 2002:a67:df99:: with SMTP id x25mr3636231vsk.44.1622824900876; Fri, 04 Jun 2021 09:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622824900; cv=none; d=google.com; s=arc-20160816; b=EqqdMifbaWM4O3dfXTENd9fqUrzOJURPZLPcdkLSpAjRTf9ivlSk8pcUDlt1ZF01OM 8fkleihN5YAt/mqTkcfh3gU1HLLrXIHSUNv97URVera5N/5z3EW0CtFtk+cwA7zoTF41 yRoK8TX+UdlUh/kXI+6p1/YdAAbO/5zgxbjkvgr32OiZ8apmJziDTf7KKYI9mM3JenIq P/mEu09v0xlvev+QSdQifXcTOGsZmv6S/OvHLXB1s23g7X9f+ffHBe4Q6Gn2sL1ZsPRn VagVJtKmETk/GtuzCSnq3EIByGvFeVLsotNOrd33CAqgyczCJinPBLUL0ZqbNoglS4Vv KMPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=eiyi2LcRkeghzxLmudkb7UCv7ec33DEm9YuMgjwgL/o=; b=BXC6SNDw9NpSQvpxMvqWQ4EuxiIwv6eTfl7R4SkNU4OS/afmbES6kuHNGPnBkEsr5Z 78FQOgrD86qCvcYa9M/4fT6dt9VNlLEoqsErd244r+tX1fVcMD+mIRD2QckPAAxNna3a i3XlImHF0j5EJxaY9NyPjIUJK+Dz624iFX2YMMM8UWLfcZrdS7y/bYGXkou2k731wmhX g0OpU/s0njqStK3G3pIqoOE5loNwwDoWny6kQLUYYMTATnml2Mbbd9NvdvPqdtR0a0ZB P55Jn64HAQbGR0HOnSpEwjn0ZpqaOVYL1zlc4NfTqc0qJlvAvsE+HWVDC9yfRPUC52TP l7yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=vacE7Hdj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x8si911682vsr.24.2021.06.04.09.41.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jun 2021 09:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=vacE7Hdj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpCtA-00079M-9q for patch@linaro.org; Fri, 04 Jun 2021 12:41:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpCHy-0008Eb-Ac for qemu-devel@nongnu.org; Fri, 04 Jun 2021 12:03:17 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:40492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpCHa-0005np-SF for qemu-devel@nongnu.org; Fri, 04 Jun 2021 12:03:09 -0400 Received: by mail-wm1-x32f.google.com with SMTP id b145-20020a1c80970000b029019c8c824054so8223358wmd.5 for ; Fri, 04 Jun 2021 09:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eiyi2LcRkeghzxLmudkb7UCv7ec33DEm9YuMgjwgL/o=; b=vacE7HdjcpWPgUumrSNZEOF3qw07fr8B1Qu26YUcXuDLeqDZ0e1Qkt8ZO1TxFI1AqD y7XXzcXx2vaUqDrxko6A/BIRc9PEUGryjoLx8yLgBPYdEess0deUWI0j0vrH75CUj/Si ENV2+/aOkQiOmGIrMzBwUUnFJ2odvZc3gj6slnbi1pU6qXC8LzNDcSPRvp8yyRPuuYJ1 TJOSIQdDBDPW7A3Wk7OOMADWxho4OBUQElUoz4RIpBsjLAsb/pfBxBP9JAMDjCiThSwG jqJH/MuqkHnOVOXMAOIp0fp5lpK4ZbVOYdyFV+5EGmkQSv+oNCnguZDUNwcwj/dHiGxv /P3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eiyi2LcRkeghzxLmudkb7UCv7ec33DEm9YuMgjwgL/o=; b=T8xFFjvyINkTOnCW6yIqhe7m7TH7cgovdzMuc2bMCmP0nvQQC7bzqSnIzyWl8qrLAM siTsWUR1KsW2ElRYE66pZXrwupATGvFT0IgwpmTpQx++8TB8sSZjAWNVg6XBDSPaot6L /YChFGv7DeF94ANsqybBDFMFg2scVBWEGeCiu34km9nIPinKIfIlu+fMmaGJFs+YrvS2 ypcWrJZ/9fRPm7vx21uI27A31zkdAynDsO0Ga7+FDAxCuPTtutSVrMhPgm7kthbvSDjF AemXwMgVEez1o2q8pJEKM9xp3a/MIJGVGhZIkVsQEACI0We/t0mRwFJM/Y9wZLCJhXEz /myQ== X-Gm-Message-State: AOAM533PRTmZawQslD0ZE/cgUHfRIV96iCl/rwQ2bGwh/WZWaXy0Sni1 xb+9ruy03skW9Yad4ddC8UaCfw== X-Received: by 2002:a05:600c:35c8:: with SMTP id r8mr3262410wmq.168.1622822569577; Fri, 04 Jun 2021 09:02:49 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l16sm9378070wmj.47.2021.06.04.09.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 09:02:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 644F61FFD3; Fri, 4 Jun 2021 16:53:20 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v16 62/99] target/arm: remove kvm-stub.c Date: Fri, 4 Jun 2021 16:52:35 +0100 Message-Id: <20210604155312.15902-63-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210604155312.15902-1-alex.bennee@linaro.org> References: <20210604155312.15902-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, Richard Henderson , Claudio Fontana Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Claudio Fontana the functions used in machine.c are now protected via if (kvm_enabled()), so the stub is not needed. Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- target/arm/kvm-stub.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 target/arm/kvm-stub.c -- 2.20.1 diff --git a/target/arm/kvm-stub.c b/target/arm/kvm-stub.c deleted file mode 100644 index 56a7099e6b..0000000000 --- a/target/arm/kvm-stub.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * QEMU KVM ARM specific function stubs - * - * Copyright Linaro Limited 2013 - * - * Author: Peter Maydell - * - * 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" -#include "kvm_arm.h" - -bool write_kvmstate_to_list(ARMCPU *cpu) -{ - abort(); -} - -bool write_list_to_kvmstate(ARMCPU *cpu, int level) -{ - abort(); -}