Messages in this thread Patch in this message | | | Date | Fri, 26 Jul 2019 07:51:12 -0400 | From | "Michael S. Tsirkin" <> | Subject | [PATCH] 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> ---
I put this in linux-next, we'll re-enable if we can fix the outstanding issues in a short order.
drivers/vhost/vhost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 -- MST
| |