Re: [PATCH 2/3] hw/isa/vt82c686: Resolve intermediate IRQ forwarder

2024-07-04 Thread BALATON Zoltan
On Fri, 5 Jul 2024, BALATON Zoltan wrote: On Thu, 4 Jul 2024, Bernhard Beschow wrote: When @cpu_intr is populated before vt82xx's realize(), it can be directly passed to i8259_init(), avoiding the need for the intermediate via_isa_request_i8259_irq() handler. The result is less code and runtime

Re: [PATCH 2/3] hw/isa/vt82c686: Resolve intermediate IRQ forwarder

2024-07-04 Thread BALATON Zoltan
On Thu, 4 Jul 2024, Bernhard Beschow wrote: When @cpu_intr is populated before vt82xx's realize(), it can be directly passed to i8259_init(), avoiding the need for the intermediate via_isa_request_i8259_irq() handler. The result is less code and runtime overhead, and a fixed memory leak caused by

[PATCH 2/3] hw/isa/vt82c686: Resolve intermediate IRQ forwarder

2024-07-04 Thread Bernhard Beschow
When @cpu_intr is populated before vt82xx's realize(), it can be directly passed to i8259_init(), avoiding the need for the intermediate via_isa_request_i8259_irq() handler. The result is less code and runtime overhead, and a fixed memory leak caused by qemu_allocate_irqs(). Inspired-by: Philippe