[libvirt] [PATCH 0/3] qemu: Make setting memory limits consistent

Jiri Denemark jdenemar at redhat.com
Mon Jul 8 11:38:46 UTC 2013


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




More information about the libvir-list mailing list