diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-07-26 07:49:29 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-26 07:49:29 -0400 |
commit | 73f628ec9e6bcc45b77c53fe6d0c0ec55eaf82af (patch) | |
tree | 6f93f47864ed3eac803a0253d31dab37fbe7431b | |
parent | ae24fb49d01103c80d6ff3b78714259c1c62c958 (diff) |
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>
-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 { | |||
96 | }; | 96 | }; |
97 | 97 | ||
98 | #if defined(CONFIG_MMU_NOTIFIER) && ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE == 0 | 98 | #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 |
100 | #else | 100 | #else |
101 | #define VHOST_ARCH_CAN_ACCEL_UACCESS 0 | 101 | #define VHOST_ARCH_CAN_ACCEL_UACCESS 0 |
102 | #endif | 102 | #endif |