On Thu, Aug 27, 2020 at 22:19:50 +0200, Ján Tomko wrote:
> clang reports:
>
> stack frame size of 2152 bytes in function 'libxlDomainStart'
>
> This is mostly due to the d_config variable:
>
> sizeof(libxl_domain_config) = 1232
>
> Use g_new0 to allocate it and bring the frame size down.
clang reports:
stack frame size of 2152 bytes in function 'libxlDomainStart'
This is mostly due to the d_config variable:
sizeof(libxl_domain_config) = 1232
Use g_new0 to allocate it and bring the frame size down.
Signed-off-by: Ján Tomko
---
src/libxl/libxl_domain.c | 24