Re: [libvirt] [PATCH v2 01/12] migration: refactor: get rid of use_params p2p_full

2015-09-18 Thread Nikolay Shirokovskiy
On 17.09.2015 00:54, John Ferlan wrote: > > FWIW: I figured I'd at least take a look - it's not my area of expertise > though. I also ran the changes through my Coverity checker. The first > pass found an issue in patch 10, which seems to be a result of some > changes in patch 2 and perhaps

Re: [libvirt] [PATCH v2 01/12] migration: refactor: get rid of use_params p2p_full

2015-09-17 Thread Daniel P. Berrange
On Wed, Sep 16, 2015 at 05:54:30PM -0400, John Ferlan wrote: > > FWIW: I figured I'd at least take a look - it's not my area of expertise > though. I also ran the changes through my Coverity checker. The first > pass found an issue in patch 10, which seems to be a result of some > changes in

Re: [libvirt] [PATCH v2 01/12] migration: refactor: get rid of use_params p2p_full

2015-09-16 Thread John Ferlan
FWIW: I figured I'd at least take a look - it's not my area of expertise though. I also ran the changes through my Coverity checker. The first pass found an issue in patch 10, which seems to be a result of some changes in patch 2 and perhaps patch 3... On 09/10/2015 09:20 AM, Nikolay

[libvirt] [PATCH v2 01/12] migration: refactor: get rid of use_params p2p_full

2015-09-10 Thread Nikolay Shirokovskiy
'useParams' parameter usage is an example of contol coupling. Most of the work inside the function is done differently for different value of this flag except for the uri check. Lets split this function into 2, one with extensible parameters set and one with hardcoded parameter set. Common uri