From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBqhj-0005x0-46 for qemu-devel@nongnu.org; Thu, 06 Oct 2011 12:21:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBqhi-0005S2-5L for qemu-devel@nongnu.org; Thu, 06 Oct 2011 12:21:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBqhh-0005Rr-Sk for qemu-devel@nongnu.org; Thu, 06 Oct 2011 12:21:50 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p96GLlSb031569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Oct 2011 12:21:48 -0400 From: Juan Quintela Date: Thu, 6 Oct 2011 18:21:35 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/5] migration: Improve subsections detection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi v2: - rename "used" to "remaining" (Alex suggestion) - implement qemu_get_{byte,buffer} on top of qemu_peek_{byte, buffer} (Anthony suggestion) - fix qemu_peek_buffe_logic (Alex discovered the problem) v1: This series move the subsections detection code form: - Look that it starts form 5 To: - Look that it starts form 5 (SUBSECTION) - Look at the length - Look that length is bigger than section name - Look at the idstr and see that it starts with the subsection name. Please review. Later, Juan. Juan Quintela (5): savevm: teach qemu_fill_buffer to do partial refills savevm: some coding style cleanups savevm: define qemu_get_byte() using qemu_peek_byte() savevm: improve subsections detection on load Revert "savevm: fix corruption in vmstate_subsection_load()." savevm.c | 144 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 94 insertions(+), 50 deletions(-) -- 1.7.6.4