On 8 April 2013 18:00, KONRAD Frédéric <fred.kon...@greensocs.com> wrote:
> I'm making a patch for that, and I'm wondering if the name in
> register_savevm must be changed too?
>
> eg for virtio-balloon:
>
> -    register_savevm(qdev, "virtio-balloon", -1, 1,
> +    register_savevm(qdev, TYPE_VIRTIO_BALLOON, -1, 1,
>                      virtio_balloon_save, virtio_balloon_load, s);
>
> with TYPE_VIRTIO_BALLOON "virtio-balloon-device"?

You specifically don't want to change the register_savevm name,
because otherwise you'll break migration (we use the ID string
to identify what incoming migration data is).

-- PMM

Reply via email to