]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Provide a helper method virDomainLiveConfigHelperMethod
authorLei Li <lilei@linux.vnet.ibm.com>
Mon, 12 Dec 2011 05:16:49 +0000 (13:16 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 13 Dec 2011 22:10:42 +0000 (15:10 -0700)
commitae52342754d5dea255648eaefa0c17ea83a6d34e
tree09e3c065360273db0d8de3c8916ad815adbd68fe
parentb72c774b88b911a78d3040c02dc03c2411edd2d7
Provide a helper method virDomainLiveConfigHelperMethod

This chunk of code below repeated in several functions, factor it into
a helper method virDomainLiveConfigHelperMethod to eliminate duplicated code
based on Eric and Adam's suggestion. I have tested it for all the
relevant APIs changed.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/test/test_driver.c