[PATCH v3 10/11] vdpa/nfp: enable feature bits of live migration
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jun 18 10:25:22 CEST 2024
On 6/17/24 08:27, Chaoyong He wrote:
> From: Xinying Yu <xinying.yu at corigine.com>
>
> Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the
> live migration function.
>
> Signed-off-by: Xinying Yu <xinying.yu at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
> ---
> drivers/vdpa/nfp/nfp_vdpa_core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/vdpa/nfp/nfp_vdpa_core.c b/drivers/vdpa/nfp/nfp_vdpa_core.c
> index 3b3481a99c..70aeb4a3ac 100644
> --- a/drivers/vdpa/nfp/nfp_vdpa_core.c
> +++ b/drivers/vdpa/nfp/nfp_vdpa_core.c
> @@ -95,6 +95,7 @@ nfp_vdpa_hw_init(struct nfp_vdpa_hw *vdpa_hw,
>
> vdpa_hw->features = (1ULL << VIRTIO_F_VERSION_1) |
> (1ULL << VIRTIO_F_IN_ORDER) |
> + (1ULL << VHOST_F_LOG_ALL) |
> (1ULL << VHOST_USER_F_PROTOCOL_FEATURES);
>
> return 0;
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list