From nobody Sat Feb 7 07:42:20 2026 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 1506498328981996.7159295314325; Wed, 27 Sep 2017 00:45:28 -0700 (PDT) Received: from localhost ([::1]:52991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dx728-0002r5-6E for importer@patchew.org; Wed, 27 Sep 2017 03:45:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dx70L-0001PC-BQ for qemu-devel@nongnu.org; Wed, 27 Sep 2017 03:43:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dx70I-0003z8-87 for qemu-devel@nongnu.org; Wed, 27 Sep 2017 03:43:37 -0400 Received: from ozlabs.org ([103.22.144.67]:59321) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dx70H-0003vd-T3; Wed, 27 Sep 2017 03:43:34 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 3y28vL64wKz9t5l; Wed, 27 Sep 2017 17:43:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1506498206; bh=LWOV1W+O9YEgKrB8txGh0fkS5/JGTUfPLdKBttLX5DI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OFli4v79hip/xrO9wddgtXjmOufkg30wi16gnEgL+4NMwY6lo2eDxj+BPAUvRVxYc C5RZONEmxoiBabebsXGHlIbWn6eSefqDu18d3OIeLUgvFjU4qECGMDBTf5X182N+Oq ZkJ32FpJP9ZkmROUwYRXuo+CPPPngMvBlFB8PRyc= From: David Gibson To: peter.maydell@linaro.org Date: Wed, 27 Sep 2017 17:42:52 +1000 Message-Id: <20170927074316.4454-3-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170927074316.4454-1-david@gibson.dropbear.id.au> References: <20170927074316.4454-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PULL 02/26] ppc/kvm: drop kvmppc_has_cap_htab_fd() 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: agraf@suse.de, mark.cave-ayland@ilande.co.uk, qemu-devel@nongnu.org, groug@kaod.org, qemu-ppc@nongnu.org, David Gibson 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 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Greg Kurz It never got used since its introduction (commit 7c43bca004af). Signed-off-by: Greg Kurz Signed-off-by: David Gibson --- target/ppc/kvm.c | 5 ----- target/ppc/kvm_ppc.h | 6 ------ 2 files changed, 11 deletions(-) diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c index 208c70e814..be27429b57 100644 --- a/target/ppc/kvm.c +++ b/target/ppc/kvm.c @@ -2448,11 +2448,6 @@ bool kvmppc_has_cap_epr(void) return cap_epr; } =20 -bool kvmppc_has_cap_htab_fd(void) -{ - return cap_htab_fd; -} - bool kvmppc_has_cap_fixup_hcalls(void) { return cap_fixup_hcalls; diff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h index f780e6ec7b..08aab46c5a 100644 --- a/target/ppc/kvm_ppc.h +++ b/target/ppc/kvm_ppc.h @@ -51,7 +51,6 @@ uint64_t kvmppc_rma_size(uint64_t current_size, unsigned = int hash_shift); #endif /* !CONFIG_USER_ONLY */ bool kvmppc_has_cap_epr(void); int kvmppc_define_rtas_kernel_token(uint32_t token, const char *function); -bool kvmppc_has_cap_htab_fd(void); int kvmppc_get_htab_fd(bool write); int kvmppc_save_htab(QEMUFile *f, int fd, size_t bufsize, int64_t max_ns); int kvmppc_load_htab_chunk(QEMUFile *f, int fd, uint32_t index, @@ -246,11 +245,6 @@ static inline int kvmppc_define_rtas_kernel_token(uint= 32_t token, return -1; } =20 -static inline bool kvmppc_has_cap_htab_fd(void) -{ - return false; -} - static inline int kvmppc_get_htab_fd(bool write) { return -1; --=20 2.13.5