vhost: refactor virtio ready check
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 6 Jul 2020 11:24:46 +0000 (13:24 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commit2ab58f20db51259ee2f95223f912b04e5c16802a
tree5c19caf229b4371b62fea1c2531844c93636bad5
parent1c3df72bda9893784267d02d2c6a3fd0047c38cd
vhost: refactor virtio ready check

This patch is a small refactoring, as preliminary work
for adding support to Virtio status support.

No functional change here.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost_user.c