We need to set memory limits in several cases:
- when setting hard_limit in memory cgroup
- when starting a domain with a VFIO PCI device attached
- when hotplugging a VFIO PCI device
- when memoryBacking/locked is used
This series makes use of a shared code to compute the limits in all of
those c
On Fri, Jun 28, 2013 at 17:04:27 +0200, Jiri Denemark wrote:
> We need to set memory limits in several cases:
> - when setting hard_limit in memory cgroup
> - when starting a domain with a VFIO PCI device attached
> - when hotplugging a VFIO PCI device
> - when memoryBacking/locked is used
>
> Thi