(2.13) kvm: Add migration capabilities as an hvparam
authorDimitris Aragiorgis <dimara@grnet.gr>
Tue, 3 Dec 2013 13:42:28 +0000 (15:42 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 08:01:23 +0000 (10:01 +0200)
commit0271b044bb184df5e1e81b6ed84d89d278f5aa4a
tree392c7a247fa931845b406613493b9d5e330425dd
parent4163f1c99f9f4b02f5a55ca30e8d6b737c487719
(2.13) kvm: Add migration capabilities as an hvparam

Latest QEMU versions support various migration capabilities.  Each
can be enabled/disabled with 'migrate_set_capability' monitor
command.

Version 1.7.0 defines x-rdma-pin-all, auto-converge, zero-blocks,
and xbzrle migration capabilities.

Since migration capabilities are more than one, and because hvparams
accept only strings/integers and not dicts we decide to provide the
capabilities that should be on via a ":" separated string.

In other words one can use the following to enable xbzrle and
auto-converge:

-H kvm:migration_caps=xbzrle:auto-converge

IMPORTANT: xbzrle may result to BSOD for instances running Windows
2008r8 on drbd.

Update man page of gnt-instance to include the new hvparam.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/constants.py
lib/hypervisor/hv_kvm.py
man/gnt-instance.rst