[libvirt] [PATCH 14/24] qemu: block: Refactor node name detection code