From: Michael S. Tsirkin Date: Fri, 26 Jul 2019 11:49:29 +0000 (-0400) Subject: vhost: disable metadata prefetch optimization X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af;p=linux.git 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 --- diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 8192963329138..42a8c2a13ab1b 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