Em sexta-feira, 1 de março de 2019 10:34:35 UTC, J. Kiszka escreveu: > On 01.03.19 10:56, Pedro Chaves wrote: > > Hello, > > > > I would like to know if there is any way to partition an USB hub between > > cells. > > > > 1. From what I understand, the USB Controller would need to be a shared PCI > > device, as it would be used by all of the cells that would need access to > > the hub. > > > > 2. Even if it is possible to share an USB controller, is there any way to > > guarantee exclusive cell access to an USB device connected to a hub? > > > > 3. If any of the previous statements are applicable, how does jailhouse > > handle these interactions? > > > > 4. If 1 and/or 2 are not possible, is there any other way I can extend the > > number of USB devices I can connect to a board with few ports, and be able > > to assign them to different cells? > > > > > > +------+ +------+ > > +------+ Cell | | Cell +-------+ > > | +------+ +------+ | > > | | > > | +------+ +------+ | > > | | USB | | USB | | > > +-> |Device| |Device| <--+ > > | | | | > > +--+---+ +--+---+ > > | | > > | +---------+ | > > +-+ USB Hub +--+ > > +---+-----+ > > | > > +----+-----+ > > | Single | > > | USB Port | > > +----------+ > > > > Thank you, > > Pedro Chaves. > > > > Possibly something like > https://stackoverflow.com/questions/43117293/what-is-xhci-iov-and-how-does-it-work > > would help, but I have no experience with that, and we lack any > preintegration > (if not more) in Jailhouse. > > At the same time, I know that people already used SR-IOV for network > controllers > under Jailhouse. The root cell configured the PF (physical function), and > then > Jailhouse "stole" some VFs (virtual functions) for it to hand them out to > other > cells. > > Jan > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux
Hi, Thank you for your response, I'll look into it. Pedro Chaves. -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
