projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9016c
)
linux-user: fix for loopmount ioctl
author
Martin Mohring
<martin.mohring@5edatasoft.com>
Tue, 8 Feb 2011 12:48:56 +0000
(14:48 +0200)
committer
Riku Voipio
<riku.voipio@nokia.com>
Wed, 9 Feb 2011 08:33:54 +0000
(10:33 +0200)
In case a chrooted build uses XEN or KVM, a looped mount needs to be done to setup the chroot.
The ioctl for loop mount works correctly for arm, mips, ppc32 and sh4, so its now activated.
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
linux-user/ioctls.h
patch
|
blob
|
history
diff --git
a/linux-user/ioctls.h
b/linux-user/ioctls.h
index acff781081bdf7e697d74df72b1714910ee7184d..526aaa2a7649fc2d163edd5fe0cee15bf0c1aafc 100644
(file)
--- a/
linux-user/ioctls.h
+++ b/
linux-user/ioctls.h
@@
-312,10
+312,8
@@
IOCTL(LOOP_CLR_FD, 0, TYPE_INT)
IOCTL(LOOP_SET_STATUS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_loop_info)))
IOCTL(LOOP_GET_STATUS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_loop_info)))
-#if 0 /* These have some problems - not fully tested */
IOCTL(LOOP_SET_STATUS64, IOC_W, MK_PTR(MK_STRUCT(STRUCT_loop_info64)))
IOCTL(LOOP_GET_STATUS64, IOC_W, MK_PTR(MK_STRUCT(STRUCT_loop_info64)))
-#endif
IOCTL(LOOP_CHANGE_FD, 0, TYPE_INT)
IOCTL(MTIOCTOP, IOC_W, MK_PTR(MK_STRUCT(STRUCT_mtop)))