[libvirt] [PATCH 1/2] qemu: Refactor config parameter retrieval