- qemu-user: add wrapper for BLKBSZGET
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=42
This commit is contained in:
parent
c656b432ba
commit
c5a1e8c9ff
27
0050-linux-user-Add-ioctl-for-BLKBSZGET.patch
Normal file
27
0050-linux-user-Add-ioctl-for-BLKBSZGET.patch
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 23:48:53 UTC 2012 - agraf@suse.de
|
||||
|
||||
- qemu-user: add wrapper for BLKBSZGET
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 21:36:02 UTC 2012 - agraf@suse.de
|
||||
|
||||
|
@ -75,6 +75,7 @@ Patch0046: 0046-linux-user-implement-device-mapper-ioctls.patch
|
||||
Patch0047: 0047-linux-user-add-struct-old_dev_t-compat.patch
|
||||
Patch0048: 0048-linux-user-fix-BLK-ioctl-arguments.patch
|
||||
Patch0049: 0049-linux-user-add-BLKSSZGET-ioctl-wrapper.patch
|
||||
Patch0050: 0050-linux-user-Add-ioctl-for-BLKBSZGET.patch
|
||||
# this is to make lint happy
|
||||
Source300: rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -183,6 +184,7 @@ run cross architectures builds
|
||||
%patch0047 -p1
|
||||
%patch0048 -p1
|
||||
%patch0049 -p1
|
||||
%patch0050 -p1
|
||||
|
||||
%build
|
||||
# build QEMU
|
||||
|
Loading…
Reference in New Issue
Block a user