Commit 73f628ec authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ae24fb49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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