Re: [PATCH 05/42] hw/isa/piix3: Create USB controller in host device

2022-09-18 Thread Bernhard Beschow
Am 1. September 2022 19:13:22 UTC schrieb "Philippe Mathieu-Daudé" : >On 1/9/22 18:25, Bernhard Beschow wrote: >> The USB controller is an integral part of PIIX3 (function 2). So create >> it as part of the south bridge. >> >> Note that the USB function is optional in QEMU. This is why it gets >>

Re: [PATCH 05/42] hw/isa/piix3: Create USB controller in host device

2022-09-01 Thread Philippe Mathieu-Daudé via
On 1/9/22 18:25, Bernhard Beschow wrote: The USB controller is an integral part of PIIX3 (function 2). So create it as part of the south bridge. Note that the USB function is optional in QEMU. This is why it gets object_initialize_child()'ed in realize rather than in instance_init. Signed-off-b

[PATCH 05/42] hw/isa/piix3: Create USB controller in host device

2022-09-01 Thread Bernhard Beschow
The USB controller is an integral part of PIIX3 (function 2). So create it as part of the south bridge. Note that the USB function is optional in QEMU. This is why it gets object_initialize_child()'ed in realize rather than in instance_init. Signed-off-by: Bernhard Beschow --- hw/i386/pc_piix.c