]> git.proxmox.com Git - mirror_qemu.git/commit
softmmu/ioport.c: allocate MemoryRegionPortioList ports on the heap
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 19 Apr 2023 15:16:50 +0000 (16:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 May 2023 08:18:33 +0000 (10:18 +0200)
commitd2f07b75aea5f49533c169592f951fd09f77037b
tree447120e18c4b66d275568582292dff36eae3b198
parent6301460ce9f59885e8feb65185bcfb6b128c8eff
softmmu/ioport.c: allocate MemoryRegionPortioList ports on the heap

In order to facilitate a conversion of MemoryRegionPortioList to a QOM object
move the allocation of MemoryRegionPortioList ports to the heap instead of
using a variable-length member at the end of the MemoryRegionPortioList
structure.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230419151652.362717-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/ioport.c