On 16/08/21 17:16, Daniel P. Berrangé wrote:
I woudn't be needed to create migration threads at startup - we should just think about how we would identify and control them when created at runtime. The complexity here is a trust issue - once guest code has been run, we can't trust what QMP tells us - so I'm not sure how we would learn what PIDs are associated with the transiently created migration threads, in order to set their properties.
That would apply anyway to any kind of thread though. It doesn't matter whether the migration thread runs host or (mostly) guest code.
Paolo