]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor disk source string formatting
authorPeter Krempa <pkrempa@redhat.com>
Thu, 21 Nov 2013 17:43:59 +0000 (18:43 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Dec 2013 09:36:12 +0000 (10:36 +0100)
commit0df53f0432ec59f9b4f417ab5662c7232b6d80da
treededa4b57f2bc3f15ea5c653048c693878ed1dd74
parentb384e2b4d71702abb45c749b7d738870cef5d9b7
qemu: Refactor disk source string formatting

This patch adds function qemuGetDriveSourceString to produce
qemu-compatible disk source strings that will enable to reuse the code
and refactors building of the qemu commandline of disks to use this new
helper.
src/qemu/qemu_command.c