Re: [PATCH v3 1/9] usb: inline device creation functions

2024-02-17 Thread Paolo Bonzini
On Fri, Feb 16, 2024 at 12:14 PM Philippe Mathieu-Daudé wrote: > > On 13/2/24 16:49, Paolo Bonzini wrote: > > Allow boards to use the device creation functions even if USB itself > > is not available; of course the functions will fail inexorably, but > > this can be okay if the calls are condition

Re: [PATCH v3 1/9] usb: inline device creation functions

2024-02-16 Thread Philippe Mathieu-Daudé
On 13/2/24 16:49, Paolo Bonzini wrote: Allow boards to use the device creation functions even if USB itself is not available; of course the functions will fail inexorably, but this can be okay if the calls are conditional on the existence of some USB host controller device. This is for example t

[PATCH v3 1/9] usb: inline device creation functions

2024-02-13 Thread Paolo Bonzini
Allow boards to use the device creation functions even if USB itself is not available; of course the functions will fail inexorably, but this can be okay if the calls are conditional on the existence of some USB host controller device. This is for example the case for hw/mips/loongson3_virt.c. Ac