On Thu, Feb 23, 2023 at 09:12:19AM +0000, Daniel P. Berrangé wrote: > The memory limits we can set on VMs are somewhat limited. In general > we prefer to avoid setting any hard per-VM memory cap by default. So if you don't use hard limits on the memcg.. But to do this with a hard limit: > We do still have to apply some tuning for VFIO, around what amount > of memory it is allowed to lock, but that is not so bad as we just > need to allow it to lock guest RAM which is known + an finite extra > amount, so don't need to take account of all of QEMU's memory > allocations in general. Will need its own controller, right? Jason