hw/usb/hcd-xhci: Use qemu_log_mask() instead of fprintf() statement

We've got a proper way for logging unimplemented hardware features,
so use qemu_log_mask() instead of the fprintf() here now.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260713161406.361197-4-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
This commit is contained in:
Thomas Huth
2026-07-13 18:14:06 +02:00
committed by Philippe Mathieu-Daudé
parent 96c9f9709d
commit ebe66684a5

View File

@@ -1017,7 +1017,8 @@ static XHCIStreamContext *xhci_find_stream(XHCIEPContext *epctx,
} }
sctx = epctx->pstreams + streamid; sctx = epctx->pstreams + streamid;
} else { } else {
fprintf(stderr, "xhci: FIXME: secondary streams not implemented yet"); qemu_log_mask(LOG_UNIMP,
"xhci: secondary streams not implemented yet\n");
*cc_error = CC_INVALID_STREAM_TYPE_ERROR; *cc_error = CC_INVALID_STREAM_TYPE_ERROR;
return NULL; return NULL;
} }