]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Move 'volume' translation to domain prepare stage
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Oct 2017 10:38:23 +0000 (12:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 5 Oct 2017 07:45:10 +0000 (09:45 +0200)
commitf1cec8829e8d3f1cc3f679812de6208fbfd15b31
treedc7d4025909b2416c8cccaadff2abe7ba595848a
parent76039bba87c9c918a7b068b29e3c8bb5744baf83
qemu: process: Move 'volume' translation to domain prepare stage

Introduce a new function to prepare domain disks which will also do the
volume source to actual disk source translation.

The 'pretend' condition is not transferred to the new location since it
does not help in writing tests and also no tests abuse it.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c