qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v8 4/5] vdpa-dev: mark the device as unmigratable


From: Jason Wang
Subject: Re: [PATCH v8 4/5] vdpa-dev: mark the device as unmigratable
Date: Tue, 8 Nov 2022 10:38:40 +0800

On Tue, Nov 8, 2022 at 8:42 AM Longpeng(Mike) <longpeng2@huawei.com> wrote:
>
> From: Longpeng <longpeng2@huawei.com>
>
> The generic vDPA device doesn't support migration currently, so
> mark it as unmigratable temporarily.
>
> Signed-off-by: Longpeng <longpeng2@huawei.com>

Acked-by: Jason Wang <jasowang@redhat.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 2885d06cbe..62d83d3423 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
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]