diff options
author | Alexander Graf <agraf@suse.de> | 2014-08-22 13:15:50 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-10-06 21:52:45 +0300 |
commit | a59b5e35d181599bc4114ceff3547ef47e713689 (patch) | |
tree | 83e552a747c3ab3736ebbff462311b2f8042a03d /linux-user/syscall_types.h | |
parent | 40645c7bfd7c4d45381927e1e80081fa827c368a (diff) | |
download | qemu-a59b5e35d181599bc4114ceff3547ef47e713689.tar.gz |
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>
Diffstat (limited to 'linux-user/syscall_types.h')
-rw-r--r-- | linux-user/syscall_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h index 9d0c92d054..1fd4ee0bfd 100644 --- a/linux-user/syscall_types.h +++ b/linux-user/syscall_types.h @@ -252,4 +252,4 @@ STRUCT(blkpg_ioctl_arg, TYPE_INT, /* op */ TYPE_INT, /* flags */ TYPE_INT, /* datalen */ - MK_PTR(MK_STRUCT(STRUCT_blkpg_partition))) /* data */ + TYPE_PTRVOID) /* data */ |