• A
    qemu: Reduce memlock limit after detaching PCI hostdev · b583e80c
    Andrea Bolognani 提交于
    We increase the limit before plugging in a PCI hostdev or a memory
    module because some memory might need to be locked due to eg. VFIO.
    
    Of course we should do the opposite after unplugging a device: this
    was already the case for memory modules, but not for PCI hostdevs.
    b583e80c
qemu_hotplug.c 145.3 KB