]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Move memPath generation from memoryBackingDir to a separate function
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Oct 2017 09:33:06 +0000 (11:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Nov 2017 12:43:06 +0000 (13:43 +0100)
commitae1b5d47e5f032a9a11688105e70198a0a160a50
tree86fddbf7f9712e9fbd030b26b23d9c85f021a5ae
parentfe70fd0c106e7fbe4f7272e5c041324ea3633ce4
qemu: Move memPath generation from memoryBackingDir to a separate function

In near future we will need more than just a plain VIR_STRDUP().
Better implement that in a separate function and in
qemuBuildMemoryBackendStr() which is complicated enough already.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h