From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xefsr-0007NW-0C for qemu-devel@nongnu.org; Thu, 16 Oct 2014 03:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xefsk-0000Bt-OM for qemu-devel@nongnu.org; Thu, 16 Oct 2014 03:54:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xefsk-0000BZ-GK for qemu-devel@nongnu.org; Thu, 16 Oct 2014 03:53:58 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9G7rux4027157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 16 Oct 2014 03:53:57 -0400 From: "Dr. David Alan Gilbert (git)" Date: Thu, 16 Oct 2014 08:53:51 +0100 Message-Id: <1413446034-25167-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] More migration file cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, quintela@redhat.com From: "Dr. David Alan Gilbert" This is a small set of patches that shuffle migration code around, but doesn't change the behaviour: 1) Move a lot of the migration source into a separate 'migration' directory Note this moves a lot of files around, git format-patch -M -B spots the renames 2) Split the 'struct QEMUFile' out into a private header Because the QEMU Buffered file code wants to access fields, and it's about to be in a separate file from QEMUFile. 3) Split the QEMU buffered file code out in the same way as the stdio and unix/socket code has been split out. Dave Dr. David Alan Gilbert (3): Start moving migration code into a migration directory Split struct QEMUFile out Split the QEMU buffered file code out Makefile.objs | 9 +- migration/Makefile.objs | 7 + migration-exec.c => migration/migration-exec.c | 0 migration-fd.c => migration/migration-fd.c | 0 migration-rdma.c => migration/migration-rdma.c | 0 migration-tcp.c => migration/migration-tcp.c | 0 migration-unix.c => migration/migration-unix.c | 0 migration.c => migration/migration.c | 0 qemu-file.c => migration/qemu-file-buf.c | 511 +--------------------- migration/qemu-file-internal.h | 53 +++ qemu-file-stdio.c => migration/qemu-file-stdio.c | 0 qemu-file-unix.c => migration/qemu-file-unix.c | 0 migration/qemu-file.c | 519 +++++++++++++++++++++++ vmstate.c => migration/vmstate.c | 0 xbzrle.c => migration/xbzrle.c | 0 tests/Makefile | 7 +- 16 files changed, 586 insertions(+), 520 deletions(-) create mode 100644 migration/Makefile.objs rename migration-exec.c => migration/migration-exec.c (100%) rename migration-fd.c => migration/migration-fd.c (100%) rename migration-rdma.c => migration/migration-rdma.c (100%) rename migration-tcp.c => migration/migration-tcp.c (100%) rename migration-unix.c => migration/migration-unix.c (100%) rename migration.c => migration/migration.c (100%) rename qemu-file.c => migration/qemu-file-buf.c (51%) create mode 100644 migration/qemu-file-internal.h rename qemu-file-stdio.c => migration/qemu-file-stdio.c (100%) rename qemu-file-unix.c => migration/qemu-file-unix.c (100%) create mode 100644 migration/qemu-file.c rename vmstate.c => migration/vmstate.c (100%) rename xbzrle.c => migration/xbzrle.c (100%) -- 1.9.3