0a761ce303
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 >
2021-11-29 14:54:17 +01:00
884cdc48a9
linux-user: Add loop control ioctls
...
Add support for the /dev/loop-control ioctls:
LOOP_CTL_ADD
LOOP_CTL_REMOVE
LOOP_CTL_GET_FREE
[RV: fixed to apply to new header guards]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Laurent Vivier <laurent@vivier.eu >
Signed-off-by: Riku Voipio <riku.voipio@linaro.org >
2016-07-19 15:22:33 +03:00
2a6a4076e1
Clean up ill-advised or unusual header guards
...
Cleaned up with scripts/clean-header-guards.pl.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Reviewed-by: Richard Henderson <rth@twiddle.net >
2016-07-12 16:20:46 +02:00
d7e4036e31
Fix build failure with old kernel headers (loop.h is incompatible with
...
glibc headers).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4543 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-23 16:06:43 +00:00