[PATCH 0/2] specify migration URI on setting file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Current virsh migrate command require specfying migration URI with 
command option.
1) If user specifies --migrateuri on virsh migrate command, then the
command transfers the data to specified host.
2) If --migrateuri is not specified, the command transfers the data to host
whose name is resolved by DNS or /etc/hosts.

But we would like to specify it on setting file like file libvirt.conf of libvirt
host. the motivation is:
  If user would like to increase their system's resource, and user add
  one more NIC for each host. (One is for management LAN, another is for data LAN).
  in this case, user would like to use "data LAN" for transfer migrate data.
  Then, user can specify the NIC address for data LAN by migrateuri.
  Though the migrateuri is usually stable, user must specify migrateuri
  every migrate time. So, setting file for migrateuri is desirable.

  in addition, if there are more KVM host, to change the migrateuri will
  be too troublesome for user.

Chen Fan (2):
  move virConnectGetConfigFile() to virconf.h
  add default migrate uri in definition file

 daemon/remote.c              | 11 +++++++-
 src/driver.h                 |  1 +
 src/libvirt.c                | 66 ++++++++------------------------------------
 src/libvirt.conf             |  7 +++++
 src/libvirt_internal.h       |  1 +
 src/libvirt_private.syms     |  2 +-
 src/qemu/qemu_driver.c       | 37 +++++++++++++++++++++++--
 src/remote/remote_driver.c   | 13 +++++++++
 src/remote/remote_protocol.x |  1 +
 src/util/virconf.c           | 54 ++++++++++++++++++++++++++++++++++++
 src/util/virconf.h           |  1 +
 11 files changed, 134 insertions(+), 60 deletions(-)

-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]