1f7661a qemu: Remove qemuDomainRequiresMemLock()

Authored and Committed by Andrea Bolognani 7 years ago
    qemu: Remove qemuDomainRequiresMemLock()
    
    Instead of having a separate function, we can simply return
    zero from the existing qemuDomainGetMemLockLimitBytes() to
    signal the caller that the memory locking limit doesn't need
    to be set for the guest.
    
    Having a single function instead of two makes it less likely
    that we will use the wrong value, which is exactly what
    happened when we started applying the limit that was meant
    for VFIO-using guests to <memoryBacking><locked>-using
    guests.
    
        
file modified
+1 -3
file modified
+24 -39
file modified
+0 -1