On 9/1/23 18:23, 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-by: Bernhard Beschow <shen...@gmail.com>
Reviewed-by: Michael S. Tsirkin <m...@redhat.com>
Message-Id: <20221022150508.26830-13-shen...@gmail.com>
---
  include/hw/southbridge/piix.h |  4 ++++
  hw/i386/pc_piix.c             |  7 ++-----
  hw/isa/piix3.c                | 17 +++++++++++++++++
  hw/isa/Kconfig                |  1 +
  4 files changed, 24 insertions(+), 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to