Home
last modified time | relevance | path

Searched hist:"3 a75ba650c4b4fc11c29f77c57fc30fd282c5ae9" (Results 1 – 1 of 1) sorted by relevance

/qemu/target/i386/hvf/
H A Dhvf.c3a75ba650c4b4fc11c29f77c57fc30fd282c5ae9 Tue Nov 05 15:57:58 UTC 2024 Phil Dennis-Jordan <phil@philjordan.eu> 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>