aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-06-29 13:57:15 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-07-04 15:35:12 +0200
commit6ebebb551ad1a5c4e24d3fccd246c5111450c1b3 (patch)
treea3e02290a66c56903b59c8176cd52529ae36f7ff
parent1f0ff2fb99eb5043ea38474c961e0fb9f6ff8a63 (diff)
qxl: add dev id to guest prints
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/qxl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/qxl.c b/hw/qxl.c
index 3722f55ce2..d55b68d872 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -985,7 +985,8 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
break;
case QXL_IO_LOG:
if (d->guestdebug) {
- fprintf(stderr, "qxl/guest: %s", d->ram->log_buf);
+ fprintf(stderr, "qxl/guest-%d: %ld: %s", d->id,
+ qemu_get_clock_ns(vm_clock), d->ram->log_buf);
}
break;
case QXL_IO_RESET: