[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v11 4/5] vdpa-dev: mark the device as unmigratable
From: |
Longpeng(Mike) |
Subject: |
[PATCH v11 4/5] vdpa-dev: mark the device as unmigratable |
Date: |
Thu, 15 Dec 2022 21:49:43 +0800 |
From: Longpeng <longpeng2@huawei.com>
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>
---
hw/virtio/vdpa-dev.c | 1 +
1 file changed, 1 insertion(+)
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[]) {
--
2.23.0
- [PATCH v11 0/5] add generic vDPA device support, Longpeng(Mike), 2022/12/15
- [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Longpeng(Mike), 2022/12/15
- Re: [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Jason Wang, 2022/12/15
- Re: [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Michael S. Tsirkin, 2022/12/19
- Re: [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Longpeng (Mike, Cloud Infrastructure Service Product Dept.), 2022/12/19
- Re: [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Michael S. Tsirkin, 2022/12/20
- Re: [PATCH v11 5/5] docs: Add generic vhost-vdpa device documentation, Longpeng (Mike, Cloud Infrastructure Service Product Dept.), 2022/12/20
[PATCH v11 4/5] vdpa-dev: mark the device as unmigratable,
Longpeng(Mike) <=
[PATCH v11 2/5] vdpa: add vdpa-dev support, Longpeng(Mike), 2022/12/15
[PATCH v11 1/5] virtio: get class_id and pci device id by the virtio id, Longpeng(Mike), 2022/12/15
[PATCH v11 3/5] vdpa: add vdpa-dev-pci support, Longpeng(Mike), 2022/12/15