]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Assign managed PR path when preparing storage source
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 May 2018 05:28:05 +0000 (07:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 16 May 2018 04:32:28 +0000 (06:32 +0200)
commitb571e7bad046394df9e6ff426f78b16003a9f856
treeb8cb449aec97eefcad9d2e3388bed4c93cc9cd44
parente31f490458997ae47d8e97696a91e39e99907715
qemu: Assign managed PR path when preparing storage source

Rather than always checking which path to use pre-assign it when
preparing storage source.

This reduces the need to pass 'vm' around too much. For later use the
path can be retrieved from the status XML.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c