From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6L31-0006No-Ix for qemu-devel@nongnu.org; Tue, 28 Aug 2012 08:37:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6L2v-00037l-P4 for qemu-devel@nongnu.org; Tue, 28 Aug 2012 08:37:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6L2v-00037d-Gp for qemu-devel@nongnu.org; Tue, 28 Aug 2012 08:37:29 -0400 Message-ID: <503CBB83.5090607@redhat.com> Date: Tue, 28 Aug 2012 14:37:23 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1346084480-7994-1-git-send-email-sandmann@cs.au.dk> <503C65F1.5040704@redhat.com> <87y5kzfbss.fsf@elfo.mitica> In-Reply-To: <87y5kzfbss.fsf@elfo.mitica> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] spice: Change NUM_SURFACES to 4096 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com Cc: =?UTF-8?B?U8O4cmVuIFNhbmRtYW5u?= , qemu-devel@nongnu.org, =?UTF-8?B?U8O4cmVuIFNhbmRtYW5uIFBlZGVyc2Vu?= 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