[Kimchi-devel] [PATCH v2] Live migration - non shared storage support

dhbarboza82 at gmail.com dhbarboza82 at gmail.com
Fri Nov 13 19:03:36 UTC 2015


From: Daniel Henrique Barboza <dhbarboza82 at gmail.com>

Changes in v2:
- using libvirt API to get the disk size as suggested by Aline


This patch implements non shared storage for the live migration
backend. No API changes were made.

To test it (WoK running with default ports):

curl -u root -H "Content-Type: application/json" -H "Accept: application/json" -k "https://localhost:8001/plugins/kimchi/vms/migrate_test/migrate" -X POST -d '{"remote_host": "remote_host_ip", "user":"root"}'

Daniel Henrique Barboza (1):
  Live migration backend: non-shared storage VM migration

 src/wok/plugins/kimchi/i18n.py                     |   4 +
 src/wok/plugins/kimchi/model/vms.py                | 104 +++++++++++++++++++-
 src/wok/plugins/kimchi/tests/test_livemigration.py | 107 ++++++++++++++++-----
 3 files changed, 189 insertions(+), 26 deletions(-)

-- 
2.4.3




More information about the Kimchi-devel mailing list