sim-card
/
qemu
Archived
10
0
Fork 0

qxl: add dev id to guest prints

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Alon Levy 2011-06-29 13:57:15 +02:00 committed by Gerd Hoffmann
parent 1f0ff2fb99
commit 6ebebb551a
1 changed files with 2 additions and 1 deletions

View File

@ -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: