qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

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