projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16cab5
)
linux-user: Add ioctl for BLKBSZSET
author
Michael Vogt
<michael.vogt@gmail.com>
Tue, 23 Apr 2024 15:24:39 +0000
(17:24 +0200)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 5 Jun 2024 16:04:30 +0000
(09:04 -0700)
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>
linux-user/ioctls.h
patch
|
blob
|
history
diff --git
a/linux-user/ioctls.h
b/linux-user/ioctls.h
index d508d0c04a7e5ca086c9b1ebdcf091b0ff3f4faf..3b41128fd7395216b1c5c49ce48204a61350b2d1 100644
(file)
--- 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)))