Follow

Rebooting Nested VMs

In certain classes virtual machines may be nested inside the desktop VM. If there is an issue with one of these VMs these steps can be used to reboot:

  • Login to the desktop VM using VNC
  • Open a terminal window
  • Run the "sudo virsh list" command to view all the running VMs
    • [lab@desktop ~]$ sudo virsh list
      Id           Name              State
      ----------------------------------------------------
      1           vmx1-vcp           running
      2           vmx1-vfp           running

 

  • Use the "sudo virsh destroy vmx1-vfp" command to stop the desired VM
    • [lab@desktop ~]$ sudo virsh destroy vmx1-vfp
      Domain vmx1-vfp destroyed

 

  • Issue the "sudo virsh start vmx1-vfp" command to restart the VM
    • [lab@desktop ~]$ sudo virsh start vmx1-vfp
      Domain vmx1-vfp started

 

  • Run the "sudo virsh list" command to make sure the VM has restarted correctly
    • [lab@desktop ~]$ sudo virsh list
      Id           Name              State
      ----------------------------------------------------
      1           vmx1-vcp           running
      2           vmx1-vfp           running

 

If the issue is still not resolved, the desktop VM can be rebuilt using the following process:

Rebuild Individual VM

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments