提交 73f628ec 编写于 作者: M Michael S. Tsirkin

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: NMichael S. Tsirkin <mst@redhat.com>
上级 ae24fb49
...@@ -96,7 +96,7 @@ struct vhost_uaddr { ...@@ -96,7 +96,7 @@ struct vhost_uaddr {
}; };
#if defined(CONFIG_MMU_NOTIFIER) && ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE == 0 #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 #else
#define VHOST_ARCH_CAN_ACCEL_UACCESS 0 #define VHOST_ARCH_CAN_ACCEL_UACCESS 0
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册