b96ce9a1d4
http://wiki.qemu.org/ChangeLog/1.0 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=53
28 lines
801 B
Diff
28 lines
801 B
Diff
From 3977eaddfd8aad7fcab30dab3c9bab52bd79bdeb Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Tue, 31 Jan 2012 20:11:37 +0100
|
|
Subject: [PATCH] linux-user: add BLKSSZGET ioctl wrapper
|
|
|
|
This patch adds an ioctl definition for BLKSSZGET.
|
|
|
|
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 05b7290..f938050 100644
|
|
--- a/linux-user/ioctls.h
|
|
+++ b/linux-user/ioctls.h
|
|
@@ -74,6 +74,7 @@
|
|
IOCTL(BLKFLSBUF, 0, TYPE_NULL)
|
|
IOCTL(BLKRASET, 0, TYPE_INT)
|
|
IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
|
|
+ IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_LONG))
|
|
#ifdef FIBMAP
|
|
IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG))
|
|
#endif
|
|
--
|
|
1.6.0.2
|
|
|