summaryrefslogtreecommitdiffstats
path: root/linux-user/ioctls.h
diff options
context:
space:
mode:
authorAlexander Graf2012-02-02 02:22:34 +0100
committerRiku Voipio2012-04-06 17:49:58 +0200
commit354a0008270e9167ce89527fdf8f1a85c3a7fb87 (patch)
tree08f0f1d1bb29320d6ef4c76441fb76acdbccbf32 /linux-user/ioctls.h
parentlinux-user: add BLKSSZGET ioctl wrapper (diff)
downloadqemu-354a0008270e9167ce89527fdf8f1a85c3a7fb87.tar.gz
qemu-354a0008270e9167ce89527fdf8f1a85c3a7fb87.tar.xz
qemu-354a0008270e9167ce89527fdf8f1a85c3a7fb87.zip
linux-user: Add ioctl for BLKBSZGET
This patch adds the ioctl wrapper definition for BLKBSZGET. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/ioctls.h')
-rw-r--r--linux-user/ioctls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 5b70f92c03..eb96a084c2 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