From patchwork Thu Feb 2 00:03:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 139034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D5146B6FA4 for ; Thu, 2 Feb 2012 12:40:20 +1100 (EST) Received: from localhost ([::1]:53004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rslep-000305-El for incoming@patchwork.ozlabs.org; Wed, 01 Feb 2012 20:40:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsleb-0002xc-0e for qemu-devel@nongnu.org; Wed, 01 Feb 2012 20:40:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsleZ-0001cD-UL for qemu-devel@nongnu.org; Wed, 01 Feb 2012 20:40:00 -0500 Received: from cantor2.suse.de ([195.135.220.15]:48849 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsleZ-0001bc-Pg for qemu-devel@nongnu.org; Wed, 01 Feb 2012 20:39:59 -0500 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id DCDAF8FFDD; Thu, 2 Feb 2012 02:39:56 +0100 (CET) From: Alexander Graf To: qemu-devel Developers Date: Thu, 2 Feb 2012 01:03:59 +0100 Message-Id: <1328141039-1379-1-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: riku.voipio@linaro.org Subject: [Qemu-devel] [PATCH] linux-user: Add ioctl for BLKBSZGET X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This patch adds the ioctl wrapper definition for BLKBSZGET. Signed-off-by: Alexander Graf --- linux-user/ioctls.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 7245ff0..d8caf6f 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -75,6 +75,7 @@ IOCTL(BLKRASET, 0, TYPE_INT) IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG)) IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_LONG)) + IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT)) #ifdef FIBMAP IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG)) #endif