aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/stm32l4x5_exti.h
diff options
context:
space:
mode:
authorPhil Dennis-Jordan <phil@philjordan.eu>2024-11-05 16:57:58 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-11-09 08:34:07 +0100
commit3a75ba650c4b4fc11c29f77c57fc30fd282c5ae9 (patch)
tree0169bcbeb23a155e3985c40d5a2660f7a5f277ef /include/hw/misc/stm32l4x5_exti.h
parente3150028fffb808452078ead055fc6a4d50a63e9 (diff)
downloadqemu-3a75ba650c4b4fc11c29f77c57fc30fd282c5ae9.zip
qemu-3a75ba650c4b4fc11c29f77c57fc30fd282c5ae9.tar.gz
qemu-3a75ba650c4b4fc11c29f77c57fc30fd282c5ae9.tar.bz2
i386/hvf: Fixes startup memory leak (vmcs caps)
The hvf_caps data structure only exists once as part of the hvf accelerator state, but it is initialised during vCPU initialisation. This change therefore adds a check to ensure memory for it is only allocated once. Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu> Link: https://lore.kernel.org/r/20241105155800.5461-4-phil@philjordan.eu Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/misc/stm32l4x5_exti.h')
0 files changed, 0 insertions, 0 deletions