fix virDomainMigrateToURI doc

* src/libvirt.c: remove reverences to non existent dconn parameter
  when using that entry point.
This commit is contained in:
Dan Kenigsberg 2009-10-19 14:53:29 +02:00 committed by Daniel Veillard
parent 41fa653f32
commit de2b252df5

View File

@ -3279,7 +3279,7 @@ error:
* @bandwidth: (optional) specify migration bandwidth limit in Mbps * @bandwidth: (optional) specify migration bandwidth limit in Mbps
* *
* Migrate the domain object from its current host to the destination * Migrate the domain object from its current host to the destination
* host given by dconn (a connection to the destination host). * host given by duri.
* *
* Flags may be one of more of the following: * Flags may be one of more of the following:
* VIR_MIGRATE_LIVE Do not pause the VM during migration * VIR_MIGRATE_LIVE Do not pause the VM during migration
@ -3298,14 +3298,11 @@ error:
* *
* If the VIR_MIGRATE_PEER2PEER flag is set, the duri parameter * If the VIR_MIGRATE_PEER2PEER flag is set, the duri parameter
* must be a valid libvirt connection URI, by which the source * must be a valid libvirt connection URI, by which the source
* libvirt driver can connect to the destination libvirt. If * libvirt driver can connect to the destination libvirt.
* omitted, the dconn connection object will be queried for its
* current URI.
* *
* If the VIR_MIGRATE_PEER2PEER flag is NOT set, the duri parameter * If the VIR_MIGRATE_PEER2PEER flag is NOT set, the duri parameter
* takes a hypervisor specific format. The hypervisor capabilities * takes a hypervisor specific format. The hypervisor capabilities
* XML includes details of the support URI schemes. If omitted * XML includes details of the support URI schemes. Not all hypervisors
* the dconn will be asked for a default URI. Not all hypervisors
* will support this mode of migration, so if the VIR_MIGRATE_PEER2PEER * will support this mode of migration, so if the VIR_MIGRATE_PEER2PEER
* flag is not set, then it may be neccessary to use the alternative * flag is not set, then it may be neccessary to use the alternative
* virDomainMigrate API providing an explicit virConnectPtr for the * virDomainMigrate API providing an explicit virConnectPtr for the