b96ce9a1d4
http://wiki.qemu.org/ChangeLog/1.0 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=53
28 lines
816 B
Diff
28 lines
816 B
Diff
From 3f2fdae967bb91a2c02020369c0af53c9cafd8b5 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Thu, 2 Feb 2012 02:22:34 +0100
|
|
Subject: [PATCH] linux-user: Add ioctl for BLKBSZGET
|
|
|
|
This patch adds the ioctl wrapper definition for BLKBSZGET.
|
|
|
|
Signed-off-by: Alexander Graf <agraf@suse.de>
|
|
---
|
|
linux-user/ioctls.h | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
|
|
index f938050..c261063 100644
|
|
--- a/linux-user/ioctls.h
|
|
+++ b/linux-user/ioctls.h
|
|
@@ -75,6 +75,7 @@
|
|
IOCTL(BLKRASET, 0, TYPE_INT)
|
|
IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
|
|
IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_LONG))
|
|
+ IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
|
|
#ifdef FIBMAP
|
|
IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG))
|
|
#endif
|
|
--
|
|
1.6.0.2
|
|
|