Message ID | 20160719085432.4572-23-marcandre.lureau@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/19/2016 11:54 AM, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau <marcandre.lureau@redhat.com> > > Simiarly to 2ba154cf4eb8636cdd3aa90f392ca9e77206ca39 > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > hw/i386/pc_q35.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c > index c0b9961..c5e8367 100644 > --- a/hw/i386/pc_q35.c > +++ b/hw/i386/pc_q35.c > @@ -213,6 +213,8 @@ static void pc_q35_init(MachineState *machine) > for (i = 0; i < ISA_NUM_IRQS; i++) { > gsi_state->i8259_irq[i] = i8259[i]; > } > + g_free(i8259); > + > if (pcmc->pci_enabled) { > ioapic_init_gsi(gsi_state, "q35"); > } > Hi, It seems my previous reply didn't make it to the mailing list. Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Thanks, Marcel
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index c0b9961..c5e8367 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -213,6 +213,8 @@ static void pc_q35_init(MachineState *machine) for (i = 0; i < ISA_NUM_IRQS; i++) { gsi_state->i8259_irq[i] = i8259[i]; } + g_free(i8259); + if (pcmc->pci_enabled) { ioapic_init_gsi(gsi_state, "q35"); }