[libvirt] [PATCH 7/9] qemu: monitor: Split out code to gather data from 'query-block'