]> git.ipfire.org Git - thirdparty/libvirt.git/commit
migration: refactor: get rid of use_params p2p_full
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 2 Oct 2015 07:52:41 +0000 (10:52 +0300)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 12 Oct 2015 11:30:49 +0000 (13:30 +0200)
commit4a2409252e56d361a51e0469089c2a20ed394b98
tree216a1cbb865be691ae9d101ec8af0fa604646de3
parent4f77c48cbaae66f4326a0a2314b9c6b63db82770
migration: refactor: get rid of use_params p2p_full

'useParams' parameter usage is an example of control coupling. Most of the work
inside the function is done differently except for the uri check. Lets split
this function into two, one with extensible parameters set and one with hardcoded
parameter set.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/libvirt-domain.c