]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: Setup paths within qemuProcessQMPInit
authorChris Venteicher <cventeic@redhat.com>
Sun, 13 Jan 2019 00:50:13 +0000 (18:50 -0600)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 19 Feb 2019 17:44:05 +0000 (18:44 +0100)
commit9ab441c8c20a478f6aad9c1a3f850ed009057b3e
tree41ff4224fc171cf4c1de734b7e0379d1ac8fc368
parent9f25cdf710b83855e4bf75754807e3581f081971
qemu_process: Setup paths within qemuProcessQMPInit

Move code for setting paths and prepping file system from
qemuProcessQMPNew to qemuProcessQMPInit.

This keeps qemuProcessQMPNew limited to data structures and path
initialization is done in qemuProcessQMPInit.

The patch is a non-functional, cut / paste change, however goto is now
"cleanup" rather than "error".

Signed-off-by: Chris Venteicher <cventeic@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c