[libvirt] [PATCH v1 2/5] qemu: Move memPath generation from memoryBackingDir to a separate function