diff --git a/src/libvirt.c b/src/libvirt.c index cef9f1f1f4217ac0762c3cb7d35d871c3fde0f13..c5221f5370e281ac4f618b3560db1180cc8c13e5 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -5116,7 +5116,7 @@ virDomainMigrateDirect(virDomainPtr domain, * @flags: bitwise-OR of virDomainMigrateFlags * @dname: (optional) rename domain to this at destination * @uri: (optional) dest hostname/URI as seen from the source host - * @bandwidth: (optional) specify migration bandwidth limit in Mbps + * @bandwidth: (optional) specify migration bandwidth limit in MiB/s * * Migrate the domain object from its current host to the destination * host given by dconn (a connection to the destination host). @@ -5169,7 +5169,7 @@ virDomainMigrateDirect(virDomainPtr domain, * URI if the destination host has multiple interfaces and a * specific interface is required to transmit migration data. * - * The maximum bandwidth (in Mbps) that will be used to do migration + * The maximum bandwidth (in MiB/s) that will be used to do migration * can be specified with the bandwidth parameter. If set to 0, * libvirt will choose a suitable default. Some hypervisors do * not support this feature and will return an error if bandwidth @@ -5343,7 +5343,7 @@ error: * @dxml: (optional) XML config for launching guest on target * @dname: (optional) rename domain to this at destination * @uri: (optional) dest hostname/URI as seen from the source host - * @bandwidth: (optional) specify migration bandwidth limit in Mbps + * @bandwidth: (optional) specify migration bandwidth limit in MiB/s * * Migrate the domain object from its current host to the destination * host given by dconn (a connection to the destination host). @@ -5396,7 +5396,7 @@ error: * URI if the destination host has multiple interfaces and a * specific interface is required to transmit migration data. * - * The maximum bandwidth (in Mbps) that will be used to do migration + * The maximum bandwidth (in MiB/s) that will be used to do migration * can be specified with the bandwidth parameter. If set to 0, * libvirt will choose a suitable default. Some hypervisors do * not support this feature and will return an error if bandwidth @@ -5588,7 +5588,7 @@ error: * @duri: mandatory URI for the destination host * @flags: bitwise-OR of virDomainMigrateFlags * @dname: (optional) rename domain to this at destination - * @bandwidth: (optional) specify migration bandwidth limit in Mbps + * @bandwidth: (optional) specify migration bandwidth limit in MiB/s * * Migrate the domain object from its current host to the destination * host given by duri. @@ -5637,7 +5637,7 @@ error: * renaming is not supported by the hypervisor, dname must be NULL or * else an error will be returned. * - * The maximum bandwidth (in Mbps) that will be used to do migration + * The maximum bandwidth (in MiB/s) that will be used to do migration * can be specified with the bandwidth parameter. If set to 0, * libvirt will choose a suitable default. Some hypervisors do * not support this feature and will return an error if bandwidth @@ -5740,7 +5740,7 @@ error: * @dxml: (optional) XML config for launching guest on target * @flags: bitwise-OR of virDomainMigrateFlags * @dname: (optional) rename domain to this at destination - * @bandwidth: (optional) specify migration bandwidth limit in Mbps + * @bandwidth: (optional) specify migration bandwidth limit in MiB/s * * Migrate the domain object from its current host to the destination * host given by duri. @@ -5799,7 +5799,7 @@ error: * renaming is not supported by the hypervisor, dname must be NULL or * else an error will be returned. * - * The maximum bandwidth (in Mbps) that will be used to do migration + * The maximum bandwidth (in MiB/s) that will be used to do migration * can be specified with the bandwidth parameter. If set to 0, * libvirt will choose a suitable default. Some hypervisors do * not support this feature and will return an error if bandwidth @@ -17702,10 +17702,10 @@ error: /** * virDomainMigrateSetMaxSpeed: * @domain: a domain object - * @bandwidth: migration bandwidth limit in Mbps + * @bandwidth: migration bandwidth limit in MiB/s * @flags: extra flags; not used yet, so callers should always pass 0 * - * The maximum bandwidth (in Mbps) that will be used to do migration + * The maximum bandwidth (in MiB/s) that will be used to do migration * can be specified with the bandwidth parameter. Not all hypervisors * will support a bandwidth cap * @@ -17749,10 +17749,10 @@ error: /** * virDomainMigrateGetMaxSpeed: * @domain: a domain object - * @bandwidth: return value of current migration bandwidth limit in Mbps + * @bandwidth: return value of current migration bandwidth limit in MiB/s * @flags: extra flags; not used yet, so callers should always pass 0 * - * Get the current maximum bandwidth (in Mbps) that will be used if the + * Get the current maximum bandwidth (in MiB/s) that will be used if the * domain is migrated. Not all hypervisors will support a bandwidth limit. * * Returns 0 in case of success, -1 otherwise. diff --git a/tools/virsh.pod b/tools/virsh.pod index 89467f6ec9fd57e0596361d889df38efbe47d0ae..1510d0d1dc40a124db8ace5e021ae59c6158732a 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1154,12 +1154,12 @@ obtained from domjobinfo. =item B I I -Set the maximum migration bandwidth (in Mbps) for a domain which is being +Set the maximum migration bandwidth (in MiB/s) for a domain which is being migrated to another host. =item B I -Get the maximum migration bandwidth (in Mbps) for a domain. +Get the maximum migration bandwidth (in MiB/s) for a domain. =item B I [I<--mode> B] [I<--nodeset> B] [[I<--config>] [I<--live>] | [I<--current>]]