From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFKsY-000880-ES for qemu-devel@nongnu.org; Thu, 07 Aug 2014 06:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFKsS-0006pu-2K for qemu-devel@nongnu.org; Thu, 07 Aug 2014 06:25:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFKsR-0006pc-Qb for qemu-devel@nongnu.org; Thu, 07 Aug 2014 06:24:55 -0400 From: "Dr. David Alan Gilbert (git)" Date: Thu, 7 Aug 2014 11:24:43 +0100 Message-Id: <1407407085-22436-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] In memory QEMUFile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: joel.schopp@amd.com, stefanb@linux.vnet.ibm.com, quintela@redhat.com From: "Dr. David Alan Gilbert" Hi, This patch-pair adds the QEMUSizedBuffer based in-memory QEMUFile written by Stefan Berger and Joel Schopp. I've made some minor fixes (and typo cleanups) and modified the existing test-vmstate to use it for some test cases. While there's nothing other than test cases using it yet, I think it's worth going in by itself, since I'm using it in two separate patchsets (postcopy and visitor/BER) and Sanidhya uses it in the periodic vmstate test world. In addition both microcheckpointing and COLO have similar but independent implementations (although they both have some extra-gotcha's so it might not be possible to reuse it), and there was another implementation of the same thing in the Yabusame Postcopy world. Thus it seems best to put in, if only to stop people writing yet another implementation. Dr. David Alan Gilbert (2): QEMUSizedBuffer based QEMUFile Tests: QEMUSizedBuffer/QEMUBuffer include/migration/qemu-file.h | 28 +++ include/qemu/typedefs.h | 1 + qemu-file.c | 410 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile | 2 +- tests/test-vmstate.c | 73 ++++---- 5 files changed, 477 insertions(+), 37 deletions(-) -- v2 Comment space fixes 1.9.3