From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Rebase.
Reset VM emulates the power reset button on a machine.
There is a risk of data loss caused by reset without the guest OS shutdown.
Also add a reset confirmation in UI.
ShaoHe Feng (4):
reset VM: update API.md
reset VM in backend.
reset vm in UI
add confirmation for reset a VM
docs/API.md | 3 +++
src/kimchi/control/vms.py | 1 +
src/kimchi/i18n.py | 1 +
src/kimchi/mockmodel.py | 3 +++
src/kimchi/model/vms.py | 8 ++++++++
ui/js/src/kimchi.api.js | 13 ++-----------
ui/js/src/kimchi.guest_main.js | 21 +++++++++++++++------
ui/pages/i18n.html.tmpl | 3 +++
8 files changed, 36 insertions(+), 17 deletions(-)
--
1.8.5.3