qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] usb: xhci: break loop after ctrl transfer compl


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] usb: xhci: break loop after ctrl transfer complete
Date: Mon, 13 Feb 2017 14:28:12 +0100

On Mo, 2017-02-13 at 13:25 +0530, P J P wrote:
> From: Prasad J Pandit <address@hidden>
> 
> xHCI controller emulator loops through the transfer ring to
> transfer control/data between host memory and device endpoints.
> It continues to do so after processing 'Status Stage' TD which
> is the last descriptor in control transfer.

That is perfectly fine.  The guest is allowed to queue up multiple
requests.

> Add break to avoid
> infinite loop.

It's not that simple.

https://patchwork.ozlabs.org/patch/724484/

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]