use generator in qnfs
Merge pull request #286 from cnpm/qnfs-generator

use generator in qnfs