Re: [PATCH v2 2/2] vhost: disable for OABI

From: Arnd Bergmann
Date: Mon Apr 06 2020 - 08:50:53 EST


On Mon, Apr 6, 2020 at 2:12 PM Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:

>
> +config VHOST_DPN
> + bool "VHOST dependencies"
> + depends on !ARM || AEABI
> + default y
> + help
> + Anything selecting VHOST or VHOST_RING must depend on VHOST_DPN.
> + This excludes the deprecated ARM ABI since that forces a 4 byte
> + alignment on all structs - incompatible with virtio spec requirements.
> +

This should not be a user-visible option, so just make this 'def_bool
!ARM || AEABI'

Arnd