aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-04-19 16:16:51 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-25 10:18:33 +0200
commit28770689c5ff53195410fec407a0af7a2d4ac03a (patch)
treeceea998f579e7901d773c2f45dc0cd5b3ec8e679 /tests
parentd2f07b75aea5f49533c169592f951fd09f77037b (diff)
downloadqemu-28770689c5ff53195410fec407a0af7a2d4ac03a.zip
qemu-28770689c5ff53195410fec407a0af7a2d4ac03a.tar.gz
qemu-28770689c5ff53195410fec407a0af7a2d4ac03a.tar.bz2
softmmu/ioport.c: QOMify MemoryRegionPortioList
The aim of QOMification is so that the lifetime of the MemoryRegionPortioList structure can be managed using QOM's in-built refcounting instead of having to handle this manually. Due to the use of an opaque pointer it isn't possible to model the new TYPE_MEMORY_REGION_PORTIO_LIST directly using QOM properties, however since use of the new object is restricted to the portio API we can simply set the opaque pointer (and the heap-allocated port list) internally. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230419151652.362717-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions