---
common.sh | 3 +-
source/migrate-setspeed.xml | 67 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 1 deletions(-)
create mode 100644 source/migrate-setspeed.xml
diff --git a/common.sh b/common.sh
index 79c8057..a84c832 100755
--- a/common.sh
+++ b/common.sh
@@ -4,7 +4,8 @@ DOMAIN_COMMANDS="attach-device attach-disk attach-interface
autostart
detach-device detach-disk detach-interface domid domjobabort domjobinfo
domname domuuid domxml-from-native domxml-to-native dump dumpxml echo
edit freecell hostname inject-nmi managedsave managedsave-remove
- maxvcpus memtune migrate migrate-setmaxdowntime reboot restore resume
+ maxvcpus memtune migrate migrate-setmaxdowntime migrate-setspeed
+ reboot restore resume
save schedinfo send-key setmaxmem setmem setvcpus shutdown start
suspend ttyconsole undefine update-device vcpucount vcpuinfo vcpupin
version vncdisplay"
diff --git a/source/migrate-setspeed.xml b/source/migrate-setspeed.xml
new file mode 100644
index 0000000..5d27e99
--- /dev/null
+++ b/source/migrate-setspeed.xml
@@ -0,0 +1,67 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<command>
+ <name>migrate-setspeed</name>
+
+ <description>
+ <text>
+ Set the maximum migration bandwidth
+ </text>
+ </description>
+
+ <options>
+ <parameter requirement="required">
+ <keyword requirement="optional">--domain</keyword>
+ <value type="string"
requirement="required">domain</value>
+ <description>
+ <text>
+ domain name, id or uuid
+ </text>
+ <text>
+ "--domain" itself is optional
+ </text>
+ </description>
+ </parameter>
+ <parameter requirement="required">
+ <keyword requirement="optional">--bandwidth</keyword>
+ <value type="number"
requirement="required">bandwidth</value>
+ <description>
+ <text>
+ migration bandwidth limit in Mbps
+ </text>
+ <text>
+ "--bandwidth" itself is optional
+ </text>
+ </description>
+ </parameter>
+ </options>
+
+ <availability from="0.9.3" />
+
+ <notes />
+
+ <examples type="usage" />
+
+ <examples type="fullcontext" />
+
+ <reference type="seealso">
+ <item>
+ <link type="internal" href="migrate" />
+ <name>
+ migrate
+ </name>
+ <description>
+ migrate a domain to another host
+ </description>
+ </item>
+ <item>
+ <link type="internal" href="migrate-getspeed" />
+ <name>
+ migrate-getspeed
+ </name>
+ <description>
+ get the maximum migration bandwidth
+ </description>
+ </item>
+ </reference>
+</command>
--
1.7.3.1