
8 Jul
2013
8 Jul
'13
7:38 a.m.
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
This series makes use of a shared code to compute the limits in all of those cases.
Jiri Denemark (3): qemu: Move memory limit computation to a reusable function qemu: Use qemuDomainMemoryLimit when computing memory for VFIO qemu: Set RLIMIT_MEMLOCK when memoryBacking/locked is used
I added a comment suggested by Paolo and pushed this series. Thanks for the review. Jirka