On Mon, Nov 14, 2022 at 04:35:31PM +0100, Michal Privoznik wrote:
While technically thread-context objects can be reused, we only
use them (well, will use them) to pin memory allocation threads.
Therefore, once we connect to QEMU monitor, all memory (with
prealloc=yes) was allocated and thus these objects are no longer
needed and can be removed. For on demand allocation the TC object
is left behind.
Reviewed-by: Martin Kletzander <mkletzan(a)redhat.com>
and I think it would make more sense if you squashed it into the
previous commit, but I'm fine with either.