linux-user: Convert blkpg to use a special subop handler
authorAlexander Graf <agraf@suse.de>
Fri, 22 Aug 2014 10:22:28 +0000 (12:22 +0200)
committerChanho Park <parkch98@gmail.com>
Tue, 9 Sep 2014 02:32:53 +0000 (11:32 +0900)
commit88ec638db1ec24f8d251e0fd94340c144b0f0713
tree226a322f2e54ff138ae8bf47d33741487cf0a672
parentf27f7ce25831dd6dba803b60592c04684738ab8b
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.

Signed-off-by: Alexander Graf <agraf@suse.de>
linux-user/ioctls.h
linux-user/syscall.c
linux-user/syscall_types.h