[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v4 12/13] usb: enumerate_slots implementation
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC v4 12/13] usb: enumerate_slots implementation |
Date: |
Mon, 21 Aug 2017 13:44:19 +0200 |
Hi,
-ENOCONTEXT
What is the use case?
> + QTAILQ_FOREACH(port, l, next) {
> + DeviceSlotInfo *slot = make_slot(BUS(bus));
> + /*
> + * TODO: should the "bus" option be included, or is
> + * "port" enough to identify the USB bus + port?
> + */
Yes, bus must be included, port alone isn't enough in case multiple usb
host adapters are present.
cheers,
Gerd
- [Qemu-devel] [RFC v4 09/13] pci: pci_bus_has_pcie_upstream_port() function, (continued)
[Qemu-devel] [RFC v4 10/13] pci: device-number & function properties, Eduardo Habkost, 2017/08/14
[Qemu-devel] [RFC v4 11/13] pci: enumerate_slots implementation, Eduardo Habkost, 2017/08/14
[Qemu-devel] [RFC v4 12/13] usb: enumerate_slots implementation, Eduardo Habkost, 2017/08/14
- Re: [Qemu-devel] [RFC v4 12/13] usb: enumerate_slots implementation,
Gerd Hoffmann <=
[Qemu-devel] [RFC v4 13/13] tests: Experimental query-device-slots test code, Eduardo Habkost, 2017/08/14
Re: [Qemu-devel] [libvirt] [RFC v4 00/13] qmp: query-device-slots command, no-reply, 2017/08/14
Re: [Qemu-devel] [RFC v4 00/13] qmp: query-device-slots command, Eric Blake, 2017/08/15