linux-user: Convert blkpg to use a special subop handler
commita59b5e35d181599bc4114ceff3547ef47e713689
authorAlexander Graf <agraf@suse.de>
Fri, 22 Aug 2014 11:15:50 +0000 (22 13:15 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 6 Oct 2014 18:52:45 +0000 (6 21:52 +0300)
tree83e552a747c3ab3736ebbff462311b2f8042a03d
parent40645c7bfd7c4d45381927e1e80081fa827c368a
linux-user: Convert blkpg to use a special subop handler

The blkpg ioctl can take different payloads depending on the opcode in
its payload structure. Create a new special ioctl handler that can only
deal with partition style ones for now.

This patch fixes running parted for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/ioctls.h
linux-user/syscall.c
linux-user/syscall_types.h