0a85de9260
Update to v2.12.0. Includes more tests for qemu-testsuite. OBS-URL: https://build.opensuse.org/request/show/602824 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=409
27 lines
811 B
Diff
27 lines
811 B
Diff
From ba79c7b6559b50210be412d7f23e83749b4982a9 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Tue, 21 Aug 2012 14:20:40 +0200
|
|
Subject: [PATCH] linux-user: XXX disable fiemap
|
|
|
|
agraf: fiemap breaks in libarchive. Disable it for now.
|
|
---
|
|
linux-user/syscall.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
|
index d1e14071ad..4e2f5e0fd0 100644
|
|
--- a/linux-user/syscall.c
|
|
+++ b/linux-user/syscall.c
|
|
@@ -5154,6 +5154,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp,
|
|
uint32_t outbufsz;
|
|
int free_fm = 0;
|
|
|
|
+ if (1) {
|
|
+ /* XXX agraf: fiemap breaks for me */
|
|
+ return -TARGET_EINVAL;
|
|
+ }
|
|
+
|
|
assert(arg_type[0] == TYPE_PTR);
|
|
assert(ie->access == IOC_RW);
|
|
arg_type++;
|