diff options
author | Eugenio Pérez | 2022-07-20 08:59:45 +0200 |
---|---|---|
committer | Jason Wang | 2022-07-20 10:58:08 +0200 |
commit | c156d5bf2b142dcc06808ccee06882144f230aec (patch) | |
tree | 26b26f6d15704d4eca3d7ff49387ecc3d6513242 /net | |
parent | vdpa: Extract get features part from vhost_vdpa_get_max_queue_pairs (diff) | |
download | qemu-c156d5bf2b142dcc06808ccee06882144f230aec.tar.gz qemu-c156d5bf2b142dcc06808ccee06882144f230aec.tar.xz qemu-c156d5bf2b142dcc06808ccee06882144f230aec.zip |
vdpa: Add device migration blocker
Since the vhost-vdpa device is exposing _F_LOG, adding a migration blocker if
it uses CVQ.
However, qemu is able to migrate simple devices with no CVQ as long as
they use SVQ. To allow it, add a placeholder error to vhost_vdpa, and
only add to vhost_dev when used. vhost_dev machinery place the migration
blocker if needed.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions