summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-07-26 07:49:29 -0400
committerMichael S. Tsirkin <mst@redhat.com>2019-07-26 07:49:29 -0400
commit73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af (patch)
tree6f93f47864ed3eac803a0253d31dab37fbe7431b /drivers
parentae24fb49d01103c80d6ff3b78714259c1c62c958 (diff)
downloadlinux-73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af.tar.bz2
vhost: disable metadata prefetch optimization
This seems to cause guest and host memory corruption. Disable for now until we get a better handle on that. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vhost/vhost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 819296332913..42a8c2a13ab1 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -96,7 +96,7 @@ struct vhost_uaddr {
};
#if defined(CONFIG_MMU_NOTIFIER) && ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE == 0
-#define VHOST_ARCH_CAN_ACCEL_UACCESS 1
+#define VHOST_ARCH_CAN_ACCEL_UACCESS 0
#else
#define VHOST_ARCH_CAN_ACCEL_UACCESS 0
#endif