Re: [RFC v2 2/2] cgroup: sev: Miscellaneous cgroup documentation.

From: Tejun Heo
Date: Sat Mar 13 2021 - 05:38:55 EST


On Fri, Mar 12, 2021 at 02:59:04PM -0800, Jacob Pan wrote:
> Our primary goal is to limit the amount of IOASIDs that VMs can allocate.
> If a VM is migrated to a different cgroup, I think we need to
> charge/uncharge the destination/source cgroup in order enforce the limit. I
> am not an expert here, any feedback would be appreciated.

That simply isn't a supported usage model. None of other resources will get
tracked if you do that.

Thanks.

--
tejun