summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/vhost/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/vhost/Kconfig')
-rw-r--r--kernel/drivers/vhost/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/drivers/vhost/Kconfig b/kernel/drivers/vhost/Kconfig
index 017a1e8a8..533eaf04f 100644
--- a/kernel/drivers/vhost/Kconfig
+++ b/kernel/drivers/vhost/Kconfig
@@ -32,3 +32,18 @@ config VHOST
---help---
This option is selected by any driver which needs to access
the core of vhost.
+
+config VHOST_CROSS_ENDIAN_LEGACY
+ bool "Cross-endian support for vhost"
+ default n
+ ---help---
+ This option allows vhost to support guests with a different byte
+ ordering from host while using legacy virtio.
+
+ Userspace programs can control the feature using the
+ VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
+
+ This is only useful on a few platforms (ppc64 and arm64). Since it
+ adds some overhead, it is disabled by default.
+
+ If unsure, say "N".