diff options
author | Martin Mohring <martin.mohring@5edatasoft.com> | 2011-02-08 14:48:56 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2011-02-09 10:33:54 +0200 |
commit | 898b1bebf97e5f973624a4e513da45dffefdb9b7 (patch) | |
tree | 40b8a96b84eca740744cae4a796279d70a472a21 | |
parent | 8d9016c0919bab1fdf3a36c0f72d012924bb7efd (diff) | |
download | qemu-898b1bebf97e5f973624a4e513da45dffefdb9b7.zip qemu-898b1bebf97e5f973624a4e513da45dffefdb9b7.tar.gz qemu-898b1bebf97e5f973624a4e513da45dffefdb9b7.tar.bz2 |
linux-user: fix for loopmount ioctl
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>
-rw-r--r-- | linux-user/ioctls.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index acff781..526aaa2 100644 --- 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))) |