All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Mriyam Tamuli <mbtamuli@gmail.com>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/5] address_space: replaced function calls
Date: Mon, 14 Mar 2016 08:14:31 -0600	[thread overview]
Message-ID: <56E6C747.10307@redhat.com> (raw)
In-Reply-To: <CAFEAcA_9H0txC8nPb2TuOWFK9Dxm4w26ZMmjpuuH9ZUTd=WHDQ@mail.gmail.com>

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

On 03/13/2016 01:10 PM, Peter Maydell wrote:
> On 13 March 2016 at 18:56, Mriyam Tamuli <mbtamuli@gmail.com> wrote:
>> replaced calls named cpu_physical_memory_* with address_space_*
>>
>> cpus.c
>> cputlb.c
>> disas.c
>> exec.c
>> ---
>>  cpus.c   |  2 +-
>>  cputlb.c |  8 ++++----
>>  disas.c  |  2 +-
>>  exec.c   | 60 ++++++++++++++++++++++++++++++------------------------------
>>  4 files changed, 36 insertions(+), 36 deletions(-)
>>
>> diff --git a/cpus.c b/cpus.c
>> index bc774e2..d73cd7b 100644
>> --- a/cpus.c
>> +++ b/cpus.c
>> @@ -1662,7 +1662,7 @@ void qmp_pmemsave(int64_t addr, int64_t size, const char *filename,
>>          l = sizeof(buf);
>>          if (l > size)
>>              l = size;
>> -        cpu_physical_memory_read(addr, buf, l);
>> +        address_space_read(addr, buf, l);
> 
> address_space_read() takes five arguments, not three -- surely
> this change won't compile?

Also, sending 5 identically-titled patches is poor form; it makes life
harder for backporting.  Please make sure all 5 patches have different
subject lines, with proper threading (each message in-reply-to the 0/5
cover letter, rather than its own top-level thread).

-- 
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 --]

WARNING: multiple messages have this Message-ID (diff)
From: Eric Blake <eblake@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Mriyam Tamuli <mbtamuli@gmail.com>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Peter Crosthwaite <crosthwaite.peter@gmail.com>
Subject: Re: [Qemu-devel] [PATCH 1/5] address_space: replaced function calls
Date: Mon, 14 Mar 2016 08:14:31 -0600	[thread overview]
Message-ID: <56E6C747.10307@redhat.com> (raw)
In-Reply-To: <CAFEAcA_9H0txC8nPb2TuOWFK9Dxm4w26ZMmjpuuH9ZUTd=WHDQ@mail.gmail.com>

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

On 03/13/2016 01:10 PM, Peter Maydell wrote:
> On 13 March 2016 at 18:56, Mriyam Tamuli <mbtamuli@gmail.com> wrote:
>> replaced calls named cpu_physical_memory_* with address_space_*
>>
>> cpus.c
>> cputlb.c
>> disas.c
>> exec.c
>> ---
>>  cpus.c   |  2 +-
>>  cputlb.c |  8 ++++----
>>  disas.c  |  2 +-
>>  exec.c   | 60 ++++++++++++++++++++++++++++++------------------------------
>>  4 files changed, 36 insertions(+), 36 deletions(-)
>>
>> diff --git a/cpus.c b/cpus.c
>> index bc774e2..d73cd7b 100644
>> --- a/cpus.c
>> +++ b/cpus.c
>> @@ -1662,7 +1662,7 @@ void qmp_pmemsave(int64_t addr, int64_t size, const char *filename,
>>          l = sizeof(buf);
>>          if (l > size)
>>              l = size;
>> -        cpu_physical_memory_read(addr, buf, l);
>> +        address_space_read(addr, buf, l);
> 
> address_space_read() takes five arguments, not three -- surely
> this change won't compile?

Also, sending 5 identically-titled patches is poor form; it makes life
harder for backporting.  Please make sure all 5 patches have different
subject lines, with proper threading (each message in-reply-to the 0/5
cover letter, rather than its own top-level thread).

-- 
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:[~2016-03-14 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 18:56 [Qemu-trivial] [PATCH 1/5] address_space: replaced function calls Mriyam Tamuli
2016-03-13 18:56 ` [Qemu-devel] " Mriyam Tamuli
2016-03-13 19:10 ` [Qemu-trivial] " Peter Maydell
2016-03-13 19:10   ` Peter Maydell
2016-03-14 14:14   ` Eric Blake [this message]
2016-03-14 14:14     ` Eric Blake

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=56E6C747.10307@redhat.com \
    --to=eblake@redhat.com \
    --cc=crosthwaite.peter@gmail.com \
    --cc=mbtamuli@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=rth@twiddle.net \
    /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.