qemu-devel
[Top][All Lists]
Advanced

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

Re: What is the intended behaviour of usb_host_get_port for root hubs?


From: Gerd Hoffmann
Subject: Re: What is the intended behaviour of usb_host_get_port for root hubs?
Date: Tue, 9 Mar 2021 08:23:59 +0100

On Tue, Mar 09, 2021 at 10:54:15AM +1100, Ben Leslie wrote:
> When usb_host_get_port is called for a root-hub device what string should
> be output in the port parameter?

Just the port number, as string.

(and in case this isn't a root port the hub port number(s) are appended,
separated by a dot).

> The current behaviour writes a string with whatever stack value happened to
> be in the paths stack array.

Huh?  Isn't paths updated by the libusb_get_port_numbers() call?

take care,
  Gerd




reply via email to

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