From patchwork Mon Apr 29 18:42:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Garcia X-Patchwork-Id: 10922411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB0B4933 for ; Mon, 29 Apr 2019 18:48:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDE29287CB for ; Mon, 29 Apr 2019 18:48:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BEF7128821; Mon, 29 Apr 2019 18:48:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 64BF1287CB for ; Mon, 29 Apr 2019 18:48:56 +0000 (UTC) Received: from localhost ([127.0.0.1]:33777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLBKh-00083Y-Nv for patchwork-qemu-devel@patchwork.kernel.org; Mon, 29 Apr 2019 14:48:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLBF2-0003Hg-3E for qemu-devel@nongnu.org; Mon, 29 Apr 2019 14:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLBF1-0002Qt-2w for qemu-devel@nongnu.org; Mon, 29 Apr 2019 14:43:03 -0400 Received: from fanzine.igalia.com ([91.117.99.155]:54747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLBF0-0002Pf-QS; Mon, 29 Apr 2019 14:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Message-Id:Date:Subject:Cc:To:From; bh=Wgj5uF7kqUZ1VqMW90TBeCP0doa49kZO3PSioGbmiB0=; b=ssLJo+eI9OaLRQNzOwUFq9uJVdyzO3e1/NIe+RjpsQoU8ggBgaKqmZOjUhYcLZeu64QWJGCylQuv/3yfiV1eRh9aPpAalP0yX1CSBJVRLAHpAa4ZNoevc+NhSkfRAqoE4GxSwmxih2pc/f5b7TLkkDPZdnO7lepljOx6YBeqjBbgt+ptyBaO1l8L/DoGbnxlXkbglsoT44wjXQpNtYrdfVdBy4TRxq7f2+CW+f2asF54dxklXHQ2o2yDpqbDIEGMxHUkOIltljP2qd0aRYWsWKCTtBfwmQugve9XUK9f/XAkN78oUqO/nHtBLyVYWQz5U6IrgPxd0VSwBFkpIeWM+A==; Received: from static-191-95-145-212.ipcom.comunitel.net ([212.145.95.191] helo=perseus.local) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1hLBEx-0006XF-Iu; Mon, 29 Apr 2019 20:42:59 +0200 Received: from berto by perseus.local with local (Exim 4.89) (envelope-from ) id 1hLBEk-0002ZJ-UR; Mon, 29 Apr 2019 21:42:46 +0300 From: Alberto Garcia To: qemu-devel@nongnu.org Date: Mon, 29 Apr 2019 20:42:35 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 91.117.99.155 Subject: [Qemu-devel] [PATCH 0/5] Remove bdrv_read() and bdrv_write() 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: Kevin Wolf , Alberto Garcia , qemu-block@nongnu.org, Max Reitz Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, this API only had a few users left so it can be easily removed. Regards, Berto Alberto Garcia (5): qcow2: Replace bdrv_write() with bdrv_pwrite() vdi: Replace bdrv_{read,write}() with bdrv_{pread,pwrite}() vvfat: Replace bdrv_{read,write}() with bdrv_{pread,pwrite}() block: Remove bdrv_read() and bdrv_write() qcow2: Remove BDRVQcow2State.cluster_sectors block/io.c | 36 ------------------------------------ block/qcow2-refcount.c | 4 ++-- block/qcow2.c | 1 - block/qcow2.h | 1 - block/vdi.c | 11 ++++++----- block/vvfat.c | 10 ++++++---- include/block/block.h | 4 ---- 7 files changed, 14 insertions(+), 53 deletions(-)