linux-user: kpartx fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | linux-user: implement device mapper ioctlslinux-user/ linux-user/ linux-user/ +1 more | +313 | 1 reply | |
| 2/4 | linux-user: add struct old_dev_t compatlinux-user/ thunk.c thunk.h | +58 | 0 replies | |
| 2/4 | linux-user: add struct old_dev_t compatlinux-user/ thunk.c thunk.h | +58 | 0 replies | |
| 3/4 | linux-user: fix BLK ioctl argumentslinux-user/ | +5 | 0 replies | |
| 4/4 | linux-user: add BLKSSZGET ioctl wrapperlinux-user/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/4] linux-user: kpartx fixes
As part of our OBS build process, we also want to be able to create kiwi images for ARM on x86 hardware. One of the crucial bits there is the kpartx tool, since that allows us to map images on the fly through device mapper.
So this patch set goes in and implements all the device mapper ioctls and fixes a few hickups to actually make things work along the way. With this applied, I can successfully run kpartx -av on an image file and have that available in the system. As far as possible, I also verified all the other ioctls to actually work.
Alex
Alexander Graf (4):
linux-user: implement device mapper ioctls
linux-user: add struct old_dev_t compat
linux-user: fix BLK ioctl arguments
linux-user: add BLKSSZGET ioctl wrapper
linux-user/ioctls.h | 34 +++++++ linux-user/syscall.c | 226 ++++++++++++++++++++++++++++++++++++++++++++ linux-user/syscall_defs.h | 26 +++++- linux-user/syscall_types.h | 40 ++++++++- thunk.c | 28 ++++++ thunk.h | 28 ++++++ 6 files changed, 377 insertions(+), 5 deletions(-)