aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ioctls.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@gmail.com>2024-04-23 17:24:39 +0200
committerRichard Henderson <richard.henderson@linaro.org>2024-06-05 09:04:30 -0700
commite6e903db6a5e960e595f9f1fd034adb942dd9508 (patch)
tree38ef707fdf2a7fae159051ceec492e733cc665a0 /linux-user/ioctls.h
parentd16cab541ab9217977e2a39abf3d79f914146741 (diff)
downloadqemu-e6e903db6a5e960e595f9f1fd034adb942dd9508.zip
qemu-e6e903db6a5e960e595f9f1fd034adb942dd9508.tar.gz
qemu-e6e903db6a5e960e595f9f1fd034adb942dd9508.tar.bz2
linux-user: Add ioctl for BLKBSZSET
Tiny patch to add the ioctl wrapper definition for BLKBSZSET. Signed-off-by: Michael Vogt <mvogt@redhat.com> Message-Id: <20240423152438.19841-2-mvogt@redhat.com>
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 d508d0c..3b41128 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -102,6 +102,7 @@
IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT))
IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
+ IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT))
IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg,
MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))