[libvirt PATCH v2 7/9] virfile: refactor virFileNBDDeviceAssociate