stop vm
stop vm
Use
stop vm
Syntax
stop vm vm-name [ force ]
Views
VMM view
Predefined user roles
network-admin
Parameters
: Specifies a VM by its name. The
vm-name
characters.
: Forcibly stops the VM.
force
Usage guidelines
CAUTION:
A force stop might cause data loss. Do not force a VM down unless necessary.
If a VM fails to stop because of an abnormal process, access the VM, manually close the process,
and retry the stop operation. If the stop operation still fails, force the VM down.
If the VM does not have an operating system, you must specify the
Use this command to stop a VM only when the VM is in running state. To view VM status, use the
display vmlist
Examples
# Stop VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] stop vm centos7
Related commands
display vmlist
start vm
suspend vm
Use
suspend vm
Syntax
suspend vm vm-name
Views
VMM view
Predefined user roles
network-admin
to stop a VM.
command.
to suspend a VM.
argument is a case-sensitive string of 1 to 30
vm-name
30
keyword to force it down.
force