hw/i386/x86: Let ioapic_init_gsi() take parent as pointer
commit9b0c44334cf7032dc5529c5ecbe1929f76668c11
authorBernhard Beschow <shentey@gmail.com>
Thu, 8 Feb 2024 22:03:41 +0000 (8 23:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:30 +0000 (27 09:37 +0100)
treef24ae51f204bb3dfb73a3cee2c22d4610a7b5c6f
parentd2b5bb860e6c17442ad95cc275feb07c1665be5c
hw/i386/x86: Let ioapic_init_gsi() take parent as pointer

Rather than taking a QOM name which has to be resolved, let's pass the parent
directly as pointer. This simplifies the code.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/microvm.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/x86.c
include/hw/i386/x86.h