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