projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae24fb4
)
vhost: disable metadata prefetch optimization
author
Michael S. Tsirkin
<mst@redhat.com>
Fri, 26 Jul 2019 11:49:29 +0000
(07:49 -0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 26 Jul 2019 11:49:29 +0000
(07:49 -0400)
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>
drivers/vhost/vhost.h
patch
|
blob
|
history
diff --git
a/drivers/vhost/vhost.h
b/drivers/vhost/vhost.h
index 8192963329138210cde91919aaa184e9ee217a31..42a8c2a13ab1b1fc5b90f3f6b43f69572fa242ac 100644
(file)
--- 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