qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] spice: Change NUM_SURFACES to 4096


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 1/2] spice: Change NUM_SURFACES to 4096
Date: Tue, 28 Aug 2012 14:37:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120714 Thunderbird/10.0.6

  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

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