Re: [RFC PATCH 1/5] nvme-pci: add function nvme_submit_vf_cmd to issue admin commands for VF driver.
From: Christoph Hellwig
Date: Wed Dec 07 2022 - 11:35:18 EST
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?