From: Daniel Henrique Barboza <danielhb(a)linux.vnet.ibm.com>
** DEPENDS ON 'CPU topology setup enhancements' PATCH SET **
v3:
- rebased the patch set with the 'CPU topology setup enhancements' changes
- added new test on test_rest.py
v2:
- standardized i18n messages to use CPUs instead of vCPUs
This patch set implements CPU Hot plug/unplug capabilities
in Kimchi.
To test it, simply add/remove CPUs in a running guest via the
'Edit' menu. Note that all restrictions on the current CPU value
(can't exceed max number of CPUs, must be a number that makes
sense in the topology if one is set) still applies.
For Power systems, the hot unplug requires additional software
running in the guest to work: powerpc-utils, ppc64-diag and
librtas. The service 'rtas_err' must be running too.
Daniel Henrique Barboza (5):
CPU Hot plug/unplug: i18n changes
CPU Hot plug/unplug: model changes
CPU Hot plug/unplug: test changes
CPU Hot plug/unplug: ui changes
CPU Hot plug/unplug: test_rest.py changes
i18n.py | 3 +
model/vms.py | 66 ++++++++++++++++++---
tests/test_model.py | 112 ++++++++++++++++++++++++++++++++++++
tests/test_rest.py | 33 +++++++++--
ui/js/src/kimchi.guest_edit_main.js | 44 +++++++++-----
ui/pages/guest-edit.html.tmpl | 5 +-
ui/pages/help/en_US/guests.dita | 8 +++
7 files changed, 242 insertions(+), 29 deletions(-)
--
2.7.4