aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-12-11 09:36:59 +0000
committerAvi Kivity <avi@redhat.com>2008-12-14 12:14:47 +0200
commit6dcf40809e60e1589f0262bedcabbca78060cce0 (patch)
tree22b0b52bb2f65365ff5b398cb0cf9ace43df02c3
parentaf25c5c5c0f5368c6742af4bde936830c3e90703 (diff)
Virtio: enable VIRTIO_ZERO_COPYkvm-81rc1
Fixes an oops in the bounce buffer malloc in virtqueue_pop() I have seen twice so far. We still need to track this down, but it's very hard to reproduce. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio.c b/hw/virtio.c
index 16356e897..1d06fcc91 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -16,7 +16,7 @@
#include "virtio.h"
#include "sysemu.h"
-//#define VIRTIO_ZERO_COPY
+#define VIRTIO_ZERO_COPY
/* from Linux's linux/virtio_pci.h */