vhost-user: Refactor vhost acked features saving
commit937b7d96e43943b808f0ca51fddf5c263209c535
authorHyman Huang(黄勇) <huangy81@chinatelecom.cn>
Wed, 21 Dec 2022 13:06:38 +0000 (21 21:06 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (8 01:54 -0500)
tree14e9dde55473a8838dd557c547727f931f3f983d
parent5795702a850ae858662fafa105dc9fa87466b5f7
vhost-user: Refactor vhost acked features saving

Abstract vhost acked features saving into
vhost_user_save_acked_features, export it as util function.

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
Message-Id: <50dc9b09b0635e3052551efcc1046c2a85332fcb.1671627406.git.huangy81@chinatelecom.cn>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/net/vhost-user.h
net/vhost-user.c