Re: [PATCH] qemu_process: Use accessor for def->mem.total_memory

2021-03-15 Thread Ján Tomko
On a Monday in 2021, Michal Privoznik wrote: When connecting to the monitor, a timeout is calculated that is bigger the more memory guest has (because QEMU has to allocate and possibly zero out the memory and what not, empirically deducted). However, when computing the timeout the @total_memory

[PATCH] qemu_process: Use accessor for def->mem.total_memory

2021-03-15 Thread Michal Privoznik
When connecting to the monitor, a timeout is calculated that is bigger the more memory guest has (because QEMU has to allocate and possibly zero out the memory and what not, empirically deducted). However, when computing the timeout the @total_memory mmember is accessed directly even though