aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vdpa-dev.c
diff options
context:
space:
mode:
authorLongpeng <longpeng2@huawei.com>2022-12-15 21:49:43 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-12-21 06:35:28 -0500
commitdd18a23002884bd64b979ef9d83e95523e7d00c4 (patch)
tree7983120aa64a3d655c518372d08774c034f67e5e /hw/virtio/vdpa-dev.c
parentfedda6174677937ba37680ca89cc9638a4d86e45 (diff)
vdpa-dev: mark the device as unmigratable
The generic vDPA device doesn't support migration currently, so mark it as unmigratable temporarily. Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Longpeng <longpeng2@huawei.com> Message-Id: <20221215134944.2809-5-longpeng2@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vdpa-dev.c')
-rw-r--r--hw/virtio/vdpa-dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio/vdpa-dev.c b/hw/virtio/vdpa-dev.c
index dbc4f8001d..db6ba61152 100644
--- a/hw/virtio/vdpa-dev.c
+++ b/hw/virtio/vdpa-dev.c
@@ -327,6 +327,7 @@ static Property vhost_vdpa_device_properties[] = {
static const VMStateDescription vmstate_vhost_vdpa_device = {
.name = "vhost-vdpa-device",
+ .unmigratable = 1,
.minimum_version_id = 1,
.version_id = 1,
.fields = (VMStateField[]) {