On Wed, Dec 07, 2022 at 04:50:00PM +0200, Max Gurtovoy wrote: > When we perform step #3 we are narrowing it's scope and maybe some caps > that you're concerned of. After this setting, the controlled function is in > LM mode (we should define what does that mean in order to be able to > migrate it correctly) and the controlling function is the migration master > of it. Both can be aware of that. The only one that can master the > controlled function is the controlling function in LM mode. Thus, it will > be easy to keep that handle inside the kernel for VFs and for MDEVs as > well. Maybe. So you'd introduce a kernel linkage that both side would have to be part of?