From patchwork Tue Apr 13 10:43:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 50059 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 596BBB7C67 for ; Tue, 13 Apr 2010 20:45:11 +1000 (EST) Received: from localhost ([127.0.0.1]:35558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1dcC-0000b0-0X for incoming@patchwork.ozlabs.org; Tue, 13 Apr 2010 06:45:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1dbO-0000aA-MA for qemu-devel@nongnu.org; Tue, 13 Apr 2010 06:44:18 -0400 Received: from [140.186.70.92] (port=46995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1dbM-0000Zx-Vr for qemu-devel@nongnu.org; Tue, 13 Apr 2010 06:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1dbL-0001tq-Bc for qemu-devel@nongnu.org; Tue, 13 Apr 2010 06:44:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51668) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1dbL-0001tE-4L for qemu-devel@nongnu.org; Tue, 13 Apr 2010 06:44:15 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3DAiA6i010833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Apr 2010 06:44:10 -0400 Received: from localhost.localdomain (dhcp-5-175.str.redhat.com [10.32.5.175]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3DAi8Tu005162; Tue, 13 Apr 2010 06:44:09 -0400 From: Kevin Wolf To: qemu-devel@nongnu.org Date: Tue, 13 Apr 2010 12:43:40 +0200 Message-Id: <1271155420-12406-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: kwolf@redhat.com Subject: [Qemu-devel] [PATCH] block.h: bdrv_create2 doesn't exist any more X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The bdrv_create2 implementation has been disappeared long ago. Remove its prototype from the header file, too. Signed-off-by: Kevin Wolf --- block.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/block.h b/block.h index 4a57dd5..05ad572 100644 --- a/block.h +++ b/block.h @@ -57,10 +57,6 @@ BlockDriver *bdrv_find_format(const char *format_name); BlockDriver *bdrv_find_whitelisted_format(const char *format_name); int bdrv_create(BlockDriver *drv, const char* filename, QEMUOptionParameter *options); -int bdrv_create2(BlockDriver *drv, - const char *filename, int64_t size_in_sectors, - const char *backing_file, const char *backing_format, - int flags); BlockDriverState *bdrv_new(const char *device_name); void bdrv_delete(BlockDriverState *bs); int bdrv_file_open(BlockDriverState **pbs, const char *filename, int flags);