diff options
author | Andreas Schwab | 2021-11-22 16:56:02 +0100 |
---|---|---|
committer | Laurent Vivier | 2021-11-29 14:54:17 +0100 |
commit | 0a761ce30338526213f74dfe9900b9213d4bbb0b (patch) | |
tree | e5ad3378dcc19869dc2aa3661dd2506dc89c8ffe /linux-user/linux_loop.h | |
parent | Merge tag 'pull-target-arm-20211129' of https://git.linaro.org/people/pmaydel... (diff) | |
download | qemu-0a761ce30338526213f74dfe9900b9213d4bbb0b.tar.gz qemu-0a761ce30338526213f74dfe9900b9213d4bbb0b.tar.xz qemu-0a761ce30338526213f74dfe9900b9213d4bbb0b.zip |
linux-user: implement more loop ioctls
LOOP_CONFIGURE is now used by losetup, and it cannot cope with ENOSYS.
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <mvmtug4mbfx.fsf_-_@suse.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/linux_loop.h')
-rw-r--r-- | linux-user/linux_loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/linux_loop.h b/linux-user/linux_loop.h index c69fea11e4..f80b96f1ff 100644 --- a/linux-user/linux_loop.h +++ b/linux-user/linux_loop.h @@ -96,6 +96,8 @@ struct loop_info64 { #define LOOP_CHANGE_FD 0x4C06 #define LOOP_SET_CAPACITY 0x4C07 #define LOOP_SET_DIRECT_IO 0x4C08 +#define LOOP_SET_BLOCK_SIZE 0x4C09 +#define LOOP_CONFIGURE 0x4C0A /* /dev/loop-control interface */ #define LOOP_CTL_ADD 0x4C80 |