All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alistair Francis <alistair.francis@xilinx.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	QEMU Trivial <qemu-trivial@nongnu.org>,
	Alistair Francis <alistair.francis@xilinx.com>
Subject: Re: [Qemu-devel] [PATCH 10/11] register: display register prefix (name) since it is available
Date: Mon, 8 May 2017 17:05:20 -0700	[thread overview]
Message-ID: <CAKmqyKOtw76BeqnQ62-pwD8S1ZqnAaYXLAdeBu1xyJjRxWcmOA@mail.gmail.com> (raw)
In-Reply-To: <20170508233918.9043-11-f4bug@amsat.org>

On Mon, May 8, 2017 at 4:39 PM, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>

Thanks,

Alistair

> ---
>  hw/core/register.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/hw/core/register.c b/hw/core/register.c
> index dc335a79a9..b5988c9cc3 100644
> --- a/hw/core/register.c
> +++ b/hw/core/register.c
> @@ -195,8 +195,8 @@ void register_write_memory(void *opaque, hwaddr addr,
>      }
>
>      if (!reg) {
> -        qemu_log_mask(LOG_GUEST_ERROR, "Write to unimplemented register at " \
> -                      "address: %#" PRIx64 "\n", addr);
> +        qemu_log_mask(LOG_GUEST_ERROR, "%s: write to unimplemented register " \
> +                      "at address: %#" PRIx64 "\n", reg_array->prefix, addr);
>          return;
>      }
>
> @@ -224,8 +224,8 @@ uint64_t register_read_memory(void *opaque, hwaddr addr,
>      }
>
>      if (!reg) {
> -        qemu_log_mask(LOG_GUEST_ERROR, "Read to unimplemented register at " \
> -                      "address: %#" PRIx64 "\n", addr);
> +        qemu_log_mask(LOG_GUEST_ERROR, "%s:  read to unimplemented register " \
> +                      "at address: %#" PRIx64 "\n", reg_array->prefix, addr);
>          return 0;
>      }
>
> --
> 2.11.0
>
>

  reply	other threads:[~2017-05-09  0:05 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 23:39 [Qemu-devel] [PATCH 00/11] various easy cleanups Philippe Mathieu-Daudé
2017-05-08 23:39 ` [Qemu-devel] [PATCH 01/11] hw/net: removed obsolete comments Philippe Mathieu-Daudé
2017-05-09  7:27   ` Alex Bennée
2017-05-08 23:39 ` [Qemu-devel] [RFC PATCH 02/11] hw/pci: define msi_nonbroken in pci-stub Philippe Mathieu-Daudé
2017-05-09  5:19   ` Thomas Huth
2017-05-09 16:49     ` Philippe Mathieu-Daudé
2017-05-09 18:24       ` Thomas Huth
2017-05-08 23:39 ` [Qemu-devel] [PATCH 03/11] hw/misc: add missing includes Philippe Mathieu-Daudé
2017-05-08 23:56   ` Eric Blake
2017-05-09  0:56     ` Philippe Mathieu-Daudé
2017-05-09 17:20       ` Philippe Mathieu-Daudé
2017-05-09 17:24         ` Eric Blake
2017-09-05  9:35     ` Philippe Mathieu-Daudé
2017-09-05  9:39       ` Peter Maydell
2017-05-08 23:39 ` [Qemu-devel] [PATCH 04/11] ide/ahci: " Philippe Mathieu-Daudé
2017-05-08 23:58   ` Eric Blake
2017-05-09 13:49     ` John Snow
2017-06-09 15:05       ` [Qemu-devel] [RFC PATCH 0/2] " Philippe Mathieu-Daudé
2017-06-09 15:05       ` [Qemu-devel] [RFC PATCH 1/2] arm/highbank: use defined type name instead of hard-coded string Philippe Mathieu-Daudé
2017-06-23 22:18         ` John Snow
2017-06-26  4:32           ` Philippe Mathieu-Daudé
2017-06-09 15:06       ` [Qemu-devel] [RFC PATCH 2/2] ide/ahci: add missing includes Philippe Mathieu-Daudé
2017-05-08 23:39 ` [Qemu-devel] [PATCH 05/11] hw/mips: add missing include Philippe Mathieu-Daudé
2017-05-08 23:55   ` Aurelien Jarno
2017-05-23 15:00   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2017-05-08 23:39 ` [Qemu-devel] [PATCH 06/11] hw/arm: removed unnecessary include Philippe Mathieu-Daudé
2017-05-23 14:58   ` Michael Tokarev
2017-06-09 21:28     ` Philippe Mathieu-Daudé
2017-05-08 23:39 ` [Qemu-devel] [PATCH 08/11] hw/sparc: use ARRAY_SIZE() macro Philippe Mathieu-Daudé
2017-05-09  7:25   ` Alex Bennée
2017-05-23 14:56   ` Michael Tokarev
2017-05-08 23:39 ` [Qemu-devel] [PATCH 09/11] target/sparc: fix DEBUG_MMU DPRINTF() arguments Philippe Mathieu-Daudé
2017-05-09  0:00   ` Eric Blake
2017-05-09  0:54     ` Philippe Mathieu-Daudé
2017-05-08 23:39 ` [Qemu-devel] [PATCH 10/11] register: display register prefix (name) since it is available Philippe Mathieu-Daudé
2017-05-09  0:05   ` Alistair Francis [this message]
2017-05-23 14:56   ` Michael Tokarev
2017-05-08 23:39 ` [Qemu-devel] [PATCH 11/11] MAINTAINERS: self-appoint me as reviewer of the Register API Philippe Mathieu-Daudé
2017-05-23 15:03 ` [Qemu-devel] [PATCH 00/11] various easy cleanups Michael Tokarev

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=CAKmqyKOtw76BeqnQ62-pwD8S1ZqnAaYXLAdeBu1xyJjRxWcmOA@mail.gmail.com \
    --to=alistair.francis@xilinx.com \
    --cc=f4bug@amsat.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /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.