[libvirt PATCH 0/4] increase locked memory limit when a vDPA device is present

Laine Stump laine at redhat.com
Tue Mar 23 18:50:48 UTC 2021


We recently learned that vDPA devices may/will need to pin/lock all of
guest memory, and so just as we do for VFIO devices, we need to
increase the locked memory limit when a vDPA device is present.

https://bugzilla.redhat.com/1939776

Laine Stump (4):
  conf: new function virDomainDefHasVDPANet()
  qemu: simplify qemuDomainGetMemLockLimitBytes()
  qemu: account for mdev devices in getPPC64MemLockLimitBytes()
  qemu: increase locked memory limit when a vDPA device is present

 src/conf/domain_conf.c   | 14 ++++++++++++++
 src/conf/domain_conf.h   |  3 +++
 src/libvirt_private.syms |  1 +
 src/qemu/qemu_domain.c   | 26 +++-----------------------
 4 files changed, 21 insertions(+), 23 deletions(-)

-- 
2.30.2




More information about the libvir-list mailing list