Hi Junjie

> Subject: Re: [PATCH v7 4/8] hw/usb/redirect-server: Announce the exported
> device
> 
> Hi Jamin,
> 
> On Wed, Oct 28, 2026 at 03:41:45AM +0000, Jamin Lin wrote:
> > +    /* The parser calls these directly, so they must not be NULL. */
> > +    s->parser->filter_reject_func = usbredir_server_filter_reject;
> 
> start_iso_stream_func, stop_iso_stream_func and iso_packet_func are still
> NULL at the end of the series, and the parser accepts those messages without
> any capability.
> 
> I exported usb-audio to a client QEMU (qemu-xhci, Debian guest) and ran
> aplay there. Once the guest picks the streaming alt setting, ep_info lists the
> isochronous endpoint, redirect.c sends start_iso_stream, and the exporting
> QEMU segfaults on a NULL call in usbredirparser_do_read().
> 
> Could the server install these and refuse the stream until it supports
> isochronous transfers?
> 
> Thanks,
> Junjie

Thanks for the review and suggestion.
I will implement isochronous transfers and add a separate patch to support it.

Jamin


Reply via email to