Re: [PATCH v2 1/6] hw/i386/x86: Let ioapic_init_gsi() take parent as pointer

2024-02-26 Thread Zhao Liu
On Sat, Feb 24, 2024 at 02:58:46PM +0100, Bernhard Beschow wrote: > Date: Sat, 24 Feb 2024 14:58:46 +0100 > From: Bernhard Beschow > Subject: [PATCH v2 1/6] hw/i386/x86: Let ioapic_init_gsi() take parent as > pointer > X-Mailer: git-send-email 2.44.0 > > Rather than taking

Re: [PATCH v2 1/6] hw/i386/x86: Let ioapic_init_gsi() take parent as pointer

2024-02-26 Thread Philippe Mathieu-Daudé
On 24/2/24 14:58, Bernhard Beschow wrote: 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 Reviewed-by: Michael S. Tsirkin --- include/hw/i386/x86.h | 2 +- hw/i386/microvm.c | 2

[PATCH v2 1/6] hw/i386/x86: Let ioapic_init_gsi() take parent as pointer

2024-02-24 Thread Bernhard Beschow
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 Reviewed-by: Michael S. Tsirkin --- include/hw/i386/x86.h | 2 +- hw/i386/microvm.c | 2 +- hw/i386/pc_piix.c | 7 +++