> case QXL_IO_LOG: > - trace_qxl_io_log(d->id, d->ram->log_buf); > + d->ram->log_buf[sizeof(d->ram->log_buf) - 1] = '\0'; > + trace_qxl_io_log(d->id, (const char *)d->ram->log_buf); > if (d->guestdebug) {
Reviewed-by: Gerd Hoffmann <kra...@redhat.com>