From fff8c539bd69dce14c63827111e9d74e6b961317 Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Sat, 18 Jan 2014 07:38:30 +0100 Subject: linux-user: Implement BLKPG ioctl Signed-off-by: Andreas Färber Reviewed-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/syscall_defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-user/syscall_defs.h') diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index ae30476217..3c8869e073 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -901,6 +901,7 @@ struct target_pollfd { #define TARGET_BLKSECTSET TARGET_IO(0x12,102)/* set max sectors per request (ll_rw_blk.c) */ #define TARGET_BLKSECTGET TARGET_IO(0x12,103)/* get max sectors per request (ll_rw_blk.c) */ #define TARGET_BLKSSZGET TARGET_IO(0x12,104)/* get block device sector size */ +#define TARGET_BLKPG TARGET_IO(0x12,105)/* Partition table and disk geometry handling */ /* A jump here: 108-111 have been used for various private purposes. */ #define TARGET_BLKBSZGET TARGET_IOR(0x12, 112, abi_ulong) #define TARGET_BLKBSZSET TARGET_IOW(0x12, 113, abi_ulong) -- cgit v1.2.3-55-g7522