Skip to content

Commit 73f628e

Browse files
committed
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 <[email protected]>
1 parent ae24fb4 commit 73f628e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/vhost/vhost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ struct vhost_uaddr {
9696
};
9797

9898
#if defined(CONFIG_MMU_NOTIFIER) && ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE == 0
99-
#define VHOST_ARCH_CAN_ACCEL_UACCESS 1
99+
#define VHOST_ARCH_CAN_ACCEL_UACCESS 0
100100
#else
101101
#define VHOST_ARCH_CAN_ACCEL_UACCESS 0
102102
#endif

0 commit comments

Comments
 (0)