Migration: Introduce VIR_MIGRATE_PARAM_LISTEN_ADDRESS

The parameter allows overriding default listen address for '-incoming'
cmd line argument on destination.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik
2013-10-08 13:49:25 +02:00
parent 7d704812b9
commit 72aafe9c81
3 changed files with 29 additions and 2 deletions

View File

@@ -1270,6 +1270,16 @@ typedef enum {
*/
#define VIR_MIGRATE_PARAM_GRAPHICS_URI "graphics_uri"
/**
* VIR_MIGRATE_PARAM_LISTEN_ADDRESS:
*
* virDomainMigrate* params field: The listen address that hypervisor on the
* destination side should bind to for incoming migration. Both, IPv4 and IPv6
* addresses are accepted as well as hostnames (the resolving is done on
* destination). Some hypervisors do not support this feature an will return an
* error if this field is used.
*/
#define VIR_MIGRATE_PARAM_LISTEN_ADDRESS "listen_address"
/* Domain migration. */
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,