All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Juan Quintela <quintela@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/4] migration: move ram stuff to migration/ram
Date: Fri, 08 May 2015 08:11:17 -0600	[thread overview]
Message-ID: <554CC405.3090507@redhat.com> (raw)
In-Reply-To: <1431088998-27721-2-git-send-email-quintela@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]

On 05/08/2015 06:43 AM, Juan Quintela wrote:
> For historic reasons, ram migration have been on arch_init.c.  Just

s/have been on/has been in/

> split it into migration/ram.c, the same that happened with block.c.
> 
> There is only code movement, no changes altogether.
> 
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
>  MAINTAINERS                   |    1 -
>  Makefile.target               |    1 +
>  arch_init.c                   | 1754 ++---------------------------------------
>  include/migration/migration.h |    2 +
>  include/sysemu/arch_init.h    |    1 -
>  migration/ram.c               | 1681 +++++++++++++++++++++++++++++++++++++++
>  trace-events                  |    2 +-
>  7 files changed, 1747 insertions(+), 1695 deletions(-)
>  create mode 100644 migration/ram.c

This diff is harder than necessary to read.  It can be made smaller by
using the --patience argument when creating the diff:

$ git diff HEAD^ --patience --stat
 MAINTAINERS                   |    1 -
 Makefile.target               |    1 +
 arch_init.c                   | 1630
---------------------------------------
 include/migration/migration.h |    2 +
 include/sysemu/arch_init.h    |    1 -
 migration/ram.c               | 1681
+++++++++++++++++++++++++++++++++++++++++
 trace-events                  |    2 +-
 7 files changed, 1685 insertions(+), 1633 deletions(-)


To make it permanent:
$ git config diff.algorithm patience

At any rate, here's how I reviewed:

$ diff -u <(git diff HEAD^ | sed -n 's/^-//p') <(git diff HEAD^ | sed -n
's/^\+//p')

You introduced a newline before mig_sleep_cpu(), and changed the text in
the DPRINTF definition, but I can live with that.

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2015-05-08 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 12:43 [Qemu-devel] [PATCH 0/4] Move last migration bits into migration/ Juan Quintela
2015-05-08 12:43 ` [Qemu-devel] [PATCH 1/4] migration: move ram stuff to migration/ram Juan Quintela
2015-05-08 14:11   ` Eric Blake [this message]
2015-05-08 12:43 ` [Qemu-devel] [PATCH 2/4] migration: move savevm.c inside migration/ Juan Quintela
2015-05-08 14:36   ` Eric Blake
2015-05-08 12:43 ` [Qemu-devel] [PATCH 3/4] migration: Add myself to the copyright list of both files Juan Quintela
2015-05-08 14:37   ` Eric Blake
2015-05-08 12:43 ` [Qemu-devel] [PATCH 4/4] movement: reduce include files Juan Quintela
2015-05-08 14:39   ` Eric Blake
2015-05-27  9:18     ` Juan Quintela

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=554CC405.3090507@redhat.com \
    --to=eblake@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.