Re: [libvirt] [PATCH v3 28/30] qemu: Allow forcing VFIO when computing memlock limit

2019-12-10 Thread Cole Robinson
On 12/2/19 9:26 AM, Michal Privoznik wrote: > With NVMe disks, one can start a blockjob with a NVMe disk > that is not visible in domain XML (at least right away). Usually, > it's fairly easy to override this limitation of > qemuDomainGetMemLockLimitBytes() - for instance for hostdevs we > temporar

[libvirt] [PATCH v3 28/30] qemu: Allow forcing VFIO when computing memlock limit

2019-12-02 Thread Michal Privoznik
With NVMe disks, one can start a blockjob with a NVMe disk that is not visible in domain XML (at least right away). Usually, it's fairly easy to override this limitation of qemuDomainGetMemLockLimitBytes() - for instance for hostdevs we temporarily add the device to domain def, let the function cal