X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fdrivers%2Fvhost%2FKconfig;fp=kernel%2Fdrivers%2Fvhost%2FKconfig;h=533eaf04f12faff85ba90791647c08a1f7a17599;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=017a1e8a8f6fcf4eb092fa48584aef00dddf5f17;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git 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".