{"id":814274,"url":"http://patchwork.ozlabs.org/api/patches/814274/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/150548135159.5945.17545667206379508322.stgit@bahia.lan/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<150548135159.5945.17545667206379508322.stgit@bahia.lan>","list_archive_url":null,"date":"2017-09-15T13:15:51","name":"[1/4] ppc/kvm: drop kvmppc_has_cap_htab_fd()","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8956037d8208ac2784adef4b0fa52373013fddd3","submitter":{"id":69178,"url":"http://patchwork.ozlabs.org/api/people/69178/?format=json","name":"Greg Kurz","email":"groug@kaod.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/150548135159.5945.17545667206379508322.stgit@bahia.lan/mbox/","series":[{"id":3310,"url":"http://patchwork.ozlabs.org/api/series/3310/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=3310","date":"2017-09-15T13:15:33","name":"ppc/kvm: htab fd code improvements","version":1,"mbox":"http://patchwork.ozlabs.org/series/3310/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814274/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814274/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xtwsJ3GbYz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 23:16:36 +1000 (AEST)","from localhost ([::1]:53351 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dsqTy-0002b7-IL\n\tfor incoming@patchwork.ozlabs.org; Fri, 15 Sep 2017 09:16:34 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:41913)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dsqTO-0002W6-7W\n\tfor qemu-devel@nongnu.org; Fri, 15 Sep 2017 09:15:59 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dsqTN-0003qK-Bv\n\tfor qemu-devel@nongnu.org; Fri, 15 Sep 2017 09:15:58 -0400","from 2.mo2.mail-out.ovh.net ([188.165.53.149]:41416)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <groug@kaod.org>) id 1dsqTN-0003q5-5R\n\tfor qemu-devel@nongnu.org; Fri, 15 Sep 2017 09:15:57 -0400","from player770.ha.ovh.net (b6.ovh.net [213.186.33.56])\n\tby mo2.mail-out.ovh.net (Postfix) with ESMTP id 1A6D4A3035\n\tfor <qemu-devel@nongnu.org>; Fri, 15 Sep 2017 15:15:56 +0200 (CEST)","from bahia.lan (gar31-1-82-66-74-139.fbx.proxad.net [82.66.74.139])\n\t(Authenticated sender: groug@kaod.org)\n\tby player770.ha.ovh.net (Postfix) with ESMTPA id C7A463C007F;\n\tFri, 15 Sep 2017 15:15:51 +0200 (CEST)"],"From":"Greg Kurz <groug@kaod.org>","To":"qemu-devel@nongnu.org","Date":"Fri, 15 Sep 2017 15:15:51 +0200","Message-ID":"<150548135159.5945.17545667206379508322.stgit@bahia.lan>","In-Reply-To":"<150548133297.5945.7401220081077343726.stgit@bahia.lan>","References":"<150548133297.5945.7401220081077343726.stgit@bahia.lan>","User-Agent":"StGit/0.17.1-46-g6855-dirty","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-Ovh-Tracer-Id":"15171501245440825845","X-VR-SPAMSTATE":"OK","X-VR-SPAMSCORE":"-100","X-VR-SPAMCAUSE":"gggruggvucftvghtrhhoucdtuddrfeelledrgeekgdeifecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"188.165.53.149","Subject":"[Qemu-devel] [PATCH 1/4] ppc/kvm: drop kvmppc_has_cap_htab_fd()","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Alexey Kardashevskiy <aik@ozlabs.ru>, Thomas Huth <thuth@redhat.com>,\n\tqemu-ppc@nongnu.org, David Gibson <david@gibson.dropbear.id.au>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"It never got used since its introduction (commit 7c43bca004af).\n\nSigned-off-by: Greg Kurz <groug@kaod.org>\n---\n target/ppc/kvm.c     |    5 -----\n target/ppc/kvm_ppc.h |    6 ------\n 2 files changed, 11 deletions(-)","diff":"diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c\nindex 1deaf106d2b9..00d7029b8d7a 100644\n--- a/target/ppc/kvm.c\n+++ b/target/ppc/kvm.c\n@@ -2448,11 +2448,6 @@ bool kvmppc_has_cap_epr(void)\n     return cap_epr;\n }\n \n-bool kvmppc_has_cap_htab_fd(void)\n-{\n-    return cap_htab_fd;\n-}\n-\n bool kvmppc_has_cap_fixup_hcalls(void)\n {\n     return cap_fixup_hcalls;\ndiff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h\nindex f780e6ec7b72..08aab46c5a56 100644\n--- a/target/ppc/kvm_ppc.h\n+++ b/target/ppc/kvm_ppc.h\n@@ -51,7 +51,6 @@ uint64_t kvmppc_rma_size(uint64_t current_size, unsigned int hash_shift);\n #endif /* !CONFIG_USER_ONLY */\n bool kvmppc_has_cap_epr(void);\n int kvmppc_define_rtas_kernel_token(uint32_t token, const char *function);\n-bool kvmppc_has_cap_htab_fd(void);\n int kvmppc_get_htab_fd(bool write);\n int kvmppc_save_htab(QEMUFile *f, int fd, size_t bufsize, int64_t max_ns);\n int kvmppc_load_htab_chunk(QEMUFile *f, int fd, uint32_t index,\n@@ -246,11 +245,6 @@ static inline int kvmppc_define_rtas_kernel_token(uint32_t token,\n     return -1;\n }\n \n-static inline bool kvmppc_has_cap_htab_fd(void)\n-{\n-    return false;\n-}\n-\n static inline int kvmppc_get_htab_fd(bool write)\n {\n     return -1;\n","prefixes":["1/4"]}