]> xenbits.xensource.com Git - libvirt.git/commit
qemu: rename migration APIs to include Src or Dst in their name
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 12 Feb 2018 17:11:41 +0000 (17:11 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 19 Feb 2018 15:47:37 +0000 (15:47 +0000)
commitffb7954f88dbe6e06166f08f2b0016768f9ac251
tree271abf31c15cc3e52e2597b86266f3b2b114816a
parent8f5133f99e6c5de2b1ef513b325d71e1fbd815c0
qemu: rename migration APIs to include Src or Dst in their name

It is very difficult while reading the migration code trying to
understand whether a particular function is being called on the src side
or the dst side, or either. Putting "Src" or "Dst" in the method names will
make this much more obvious. "Any" is used in a few helpers which can be
called from both sides.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h
src/qemu/qemu_process.c
tests/qemuxml2argvtest.c