Re: [PATCH for 9.2 1/2] hw/core/machine-smp: Initialize caches_bitmap before reading

2024-11-19 Thread Philippe Mathieu-Daudé
On 10/11/24 16:09, Zhao Liu wrote: The caches_bitmap is defined in machine_parse_smp_cache(), but it was not initialized. Initialize caches_bitmap by clearing all its bits to zero. Resolves: Coverity CID 1565389 Fixes: 4e88e7e3403d ("qapi/qom: Define cache enumeration and properties for machin

[PATCH for 9.2 1/2] hw/core/machine-smp: Initialize caches_bitmap before reading

2024-11-10 Thread Zhao Liu
The caches_bitmap is defined in machine_parse_smp_cache(), but it was not initialized. Initialize caches_bitmap by clearing all its bits to zero. Resolves: Coverity CID 1565389 Fixes: 4e88e7e3403d ("qapi/qom: Define cache enumeration and properties for machine") Reported-by: Peter Maydell Signe