vdpa: define SVQ transitioning state for mode switching
authorSi-Wei Liu <si-wei.liu@oracle.com>
Wed, 14 Feb 2024 11:28:00 +0000 (03:28 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (17:56 -0400)
commitbb000fff0a1d9774444c431e0831550e99e159ce
treeeb8e6d2f3b5e598e1f8c26d0b37a4b98655ef4f2
parent1c4eab477fb0aa5a039513c26dac63d3460e1b08
vdpa: define SVQ transitioning state for mode switching

Will be used in following patches.

DISABLING(-1) means SVQ is being switched off to passthrough
mode.

ENABLING(1) means passthrough VQs are being switched to SVQ.

DONE(0) means SVQ switching is completed.

Message-Id: <1707910082-10243-11-git-send-email-si-wei.liu@oracle.com>
Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/virtio/vhost-vdpa.h