27.3 Starting and Stopping a Virtual Machine from the Command-Line
Having created the virtual machine from the command-line it stands to reason that you may also need to start it from the command-line in the future. This can be achieved using the virsh command-line utility, referencing the name assigned to the virtual machine during the creation process. For example:
# virsh start MyFedora
Similarly, the virtual machine may be sent a shutdown signal as follows:
# virsh shutdown MyFedora
If the virtual machine fails to respond to the shutdown signal and does not begin a graceful shutdown the virtual machine may be destroyed (with the attendant risks of data loss) using the destroy directive:
# virsh destroy MyFedora