[dpdk-dev] [PATCH v3 10/19] vhost: add config flag for postcopy feature
Ilya Maximets
i.maximets at samsung.com
Fri Oct 5 13:55:48 CEST 2018
On 04.10.2018 11:13, Maxime Coquelin wrote:
> Postcopy live-migration features relies on userfaultfd,
> which was only introduced in kernel v4.3.
>
> This patch introduces a new define to allow building vhost
> library on kernels not supporting userfaultfd.
>
> With legacy build system, user has to explicitly set
> CONFIG_RTE_LIBRTE_VHOST_POSTCOPY to 'y'.
>
> With Meson build system, RTE_LIBRTE_VHOST_POSTCOPY gets
> automatically defined if userfaultfd kernel header is
> present.
>
> Suggested-by: Ilya Maximets <i.maximets at samsung.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
Acked-by: Ilya Maximets <i.maximets at samsung.com>
More information about the dev
mailing list