Re: [PATCH 18/26] hw/usb/bus: Add usb_get_port_path()

2020-07-06 Thread Alistair Francis
On Sat, Jul 4, 2020 at 8:00 AM Philippe Mathieu-Daudé wrote: > > Refactor usb_get_full_dev_path() to take a 'want_full_path' > argument, and add usb_get_port_path() which returns a short > path. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > include/

[PATCH 18/26] hw/usb/bus: Add usb_get_port_path()

2020-07-04 Thread Philippe Mathieu-Daudé
Refactor usb_get_full_dev_path() to take a 'want_full_path' argument, and add usb_get_port_path() which returns a short path. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/usb.h | 10 ++ hw/usb/bus.c | 18 +- 2 files changed, 23 insertions(+), 5 deletions(-) d