diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-07-26 14:49:29 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-26 14:49:29 +0300 |
commit | 73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af (patch) | |
tree | 6f93f47864ed3eac803a0253d31dab37fbe7431b /drivers/vhost/vhost.h | |
parent | ae24fb49d01103c80d6ff3b78714259c1c62c958 (diff) | |
download | linux-73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af.tar.xz |
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>
Diffstat (limited to 'drivers/vhost/vhost.h')
-rw-r--r-- | drivers/vhost/vhost.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |