From: Levente Kurusa <lkurusa@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>
Cc: Levente Kurusa <lkurusa@redhat.com>,
Marcel Apfelbaum <marcel.a@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Cole Robinson <crobinso@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] ivshmem: fix building when debug mode is enabled
Date: Mon, 4 Aug 2014 17:06:20 +0200 [thread overview]
Message-ID: <1407164781-32486-2-git-send-email-lkurusa@redhat.com> (raw)
In-Reply-To: <1407164781-32486-1-git-send-email-lkurusa@redhat.com>
ivsmem_offset was removed, however this debug statement was not updated.
Modify the statement to fit the new mechanic.
Signed-off-by: Levente Kurusa <lkurusa@redhat.com>
---
hw/misc/ivshmem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
index bb1f67c..79603c0 100644
--- a/hw/misc/ivshmem.c
+++ b/hw/misc/ivshmem.c
@@ -479,8 +479,8 @@ static void ivshmem_read(void *opaque, const uint8_t * buf, int flags)
"ivshmem.bar2", s->ivshmem_size, map_ptr);
vmstate_register_ram(&s->ivshmem, DEVICE(s));
- IVSHMEM_DPRINTF("guest h/w addr = %" PRIu64 ", size = %" PRIu64 "\n",
- s->ivshmem_offset, s->ivshmem_size);
+ IVSHMEM_DPRINTF("guest h/w addr = %p, size = %" PRIu64 "\n",
+ map_ptr, s->ivshmem_size);
memory_region_add_subregion(&s->bar, 0, &s->ivshmem);
--
1.9.3
next prev parent reply other threads:[~2014-08-04 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 15:06 [Qemu-devel] [PATCH 0/2] ivshmem: clean up building and arguments Levente Kurusa
2014-08-04 15:06 ` Levente Kurusa [this message]
2014-08-04 15:06 ` [Qemu-devel] [PATCH 2/2] ivshmem: convert option 'use64' to a bit instead of integer Levente Kurusa
2014-08-05 16:00 ` Michael S. Tsirkin
2014-08-11 9:26 ` Levente Kurusa
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=1407164781-32486-2-git-send-email-lkurusa@redhat.com \
--to=lkurusa@redhat.com \
--cc=crobinso@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=marcel.a@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@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 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).