Hi,

>         /* move from ARRAY to VARRAY with sive on num_surfaces */
>         VMSTATE_VARRAY_INT32(guest_surfaces.cmds, PCIQXLDevice, num_surfaces, 
> 0,
>                        vmstate_info_uint64, uint64_t),

Ah.  Yes, VARRAY will do, somehow I didn't find it.

> And thinking about it, no subsection is needed.  if num_surfaces is
> 1024, things can migrate to old qemu.  if it is bigger, it would break
> migration with good reason (num_surfaces has changed).

Indeed.  /me is glad that I was careful enougth to stick num_surfaces
into the migration data stream ;)

thanks,
  Gerd


Reply via email to