From: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>
To: qemu-devel@nongnu.org
Cc: amit.shah@redhat.com, quintela@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/4] More migration file cleanup
Date: Tue, 9 Dec 2014 12:15:29 +0000 [thread overview]
Message-ID: <1418127333-5160-1-git-send-email-dgilbert@redhat.com> (raw)
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
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) Now they're in a migration directory, rename them to remove the migration-
3) 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.
4) Split the QEMU buffered file code out in the same way as the stdio and
unix/socket code has been split out.
Dave
v2:
Also move block-migration.c
Shorten file names now they're all in the migration/ directory
Dr. David Alan Gilbert (4):
Start migrating migration code into a migration directory
Remove migration- pre/post fixes off files in migration/ dir
Split struct QEMUFile out
Split the QEMU buffered file code out
Makefile.objs | 10 +-
migration/Makefile.objs | 10 +
block-migration.c => migration/block.c | 0
migration-exec.c => migration/exec.c | 0
migration-fd.c => migration/fd.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 +++++++++++++++++++++++
migration-rdma.c => migration/rdma.c | 0
migration-tcp.c => migration/tcp.c | 0
migration-unix.c => migration/unix.c | 0
vmstate.c => migration/vmstate.c | 0
xbzrle.c => migration/xbzrle.c | 0
tests/Makefile | 7 +-
17 files changed, 589 insertions(+), 521 deletions(-)
create mode 100644 migration/Makefile.objs
rename block-migration.c => migration/block.c (100%)
rename migration-exec.c => migration/exec.c (100%)
rename migration-fd.c => migration/fd.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 migration-rdma.c => migration/rdma.c (100%)
rename migration-tcp.c => migration/tcp.c (100%)
rename migration-unix.c => migration/unix.c (100%)
rename vmstate.c => migration/vmstate.c (100%)
rename xbzrle.c => migration/xbzrle.c (100%)
--
2.1.0
next reply other threads:[~2014-12-09 12:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 12:15 Dr. David Alan Gilbert (git) [this message]
2014-12-09 12:15 ` [Qemu-devel] [PATCH v2 1/4] Start migrating migration code into a migration directory Dr. David Alan Gilbert (git)
2014-12-10 2:31 ` Amit Shah
2014-12-09 12:15 ` [Qemu-devel] [PATCH v2 2/4] Remove migration- pre/post fixes off files in migration/ dir Dr. David Alan Gilbert (git)
2014-12-09 12:15 ` [Qemu-devel] [PATCH v2 3/4] Split struct QEMUFile out Dr. David Alan Gilbert (git)
2014-12-09 12:15 ` [Qemu-devel] [PATCH v2 4/4] Split the QEMU buffered file code out Dr. David Alan Gilbert (git)
2014-12-10 2:32 ` [Qemu-devel] [PATCH v2 0/4] More migration file cleanup Amit Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418127333-5160-1-git-send-email-dgilbert@redhat.com \
--to=dgilbert@redhat.com \
--cc=amit.shah@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).