Re: [PATCH 1/2] qemu_domin: Account for NVMe disks when calculating memlock limit on hotplug

2023-05-16 Thread Martin Kletzander
s/domin/domain/ in $SUBJ On Tue, May 09, 2023 at 04:38:52PM +0200, Michal Privoznik wrote: During hotplug of a NVMe disk we need to adjust the memlock limit. The computation of the limit is handled by qemuDomainGetMemLockLimitBytes() which looks at given domain definition and accounts for

[PATCH 1/2] qemu_domin: Account for NVMe disks when calculating memlock limit on hotplug

2023-05-09 Thread Michal Privoznik
During hotplug of a NVMe disk we need to adjust the memlock limit. The computation of the limit is handled by qemuDomainGetMemLockLimitBytes() which looks at given domain definition and accounts for various device types (as different types require different amounts). But during disk hotplug the