summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/qemu-kvm/files/qemu-kvm-0.12.2-virtio-large-iovecs.patch')
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-0.12.2-virtio-large-iovecs.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-0.12.2-virtio-large-iovecs.patch b/app-emulation/qemu-kvm/files/qemu-kvm-0.12.2-virtio-large-iovecs.patch
deleted file mode 100644
index cb7b8b57bcc4..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-0.12.2-virtio-large-iovecs.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: qemu/block.c
-===================================================================
---- qemu.orig/block.c 2010-01-26 10:59:39.757004445 +0100
-+++ qemu/block.c 2010-01-26 11:01:38.056023231 +0100
-@@ -1689,6 +1689,10 @@ static int multiwrite_merge(BlockDriverS
- merge = bs->drv->bdrv_merge_requests(bs, &reqs[outidx], &reqs[i]);
- }
-
-+ if (reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1 > IOV_MAX) {
-+ merge = 0;
-+ }
-+
- if (merge) {
- size_t size;
- QEMUIOVector *qiov = qemu_mallocz(sizeof(*qiov));
-Index: qemu/qemu-common.h
-===================================================================
---- qemu.orig/qemu-common.h 2010-01-26 14:41:40.894254285 +0100
-+++ qemu/qemu-common.h 2010-01-26 14:42:27.267275698 +0100
-@@ -54,6 +54,10 @@ struct iovec {
- void *iov_base;
- size_t iov_len;
- };
-+/*
-+ * Use the same value as Linux for now.
-+ */
-+#define IOV_MAX 1024
- #else
- #include <sys/uio.h>
- #endif
-