[libvirt] [PATCH v2] [glib 4/5] gconfig, tests: Separate XML loading function