From: Levente Kurusa Date: Mon, 4 Aug 2014 15:06:20 +0000 (+0200) Subject: ivshmem: fix building when debug mode is enabled X-Git-Tag: v2.2.0-rc0~175^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9efb6b80f3ee4545a14f17025329cc2c3c0a93;p=thirdparty%2Fqemu.git ivshmem: fix building when debug mode is enabled ivsmem_offset was removed, however this debug statement was not updated. Modify the statement to fit the new mechanic. Signed-off-by: Levente Kurusa Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index 768e5288bc2..71330023d59 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);