[libvirt] [PATCH v2 10/12] migration: refactor: prepare to reuse flag vs feature checks

Daniel P. Berrange berrange at redhat.com
Thu Sep 17 14:36:36 UTC 2015


On Thu, Sep 10, 2015 at 04:20:22PM +0300, Nikolay Shirokovskiy wrote:
> All toURI functions have same checks for flags and features compatibility for
> direct and p2p case. Let's factor this checks out before we reuse common code
> in toURI functions family. As a side affect we have a more clear code
> representation of uri passing conventions for p2p and direct cases.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>  src/libvirt-domain.c |  126 +++++++++++++++++++------------------------------
>  1 files changed, 49 insertions(+), 77 deletions(-)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list