diff options
author | Alon Levy <alevy@redhat.com> | 2011-06-29 13:57:15 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-04 15:35:12 +0200 |
commit | 6ebebb551ad1a5c4e24d3fccd246c5111450c1b3 (patch) | |
tree | a3e02290a66c56903b59c8176cd52529ae36f7ff /hw/qxl.c | |
parent | 1f0ff2fb99eb5043ea38474c961e0fb9f6ff8a63 (diff) |
qxl: add dev id to guest prints
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl.c')
-rw-r--r-- | hw/qxl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |