Revision 1 as of 2009-11-09 18:46:31

Clear message

You can create, delete, run, stop, and manage your virtual machines from the command line, using a tool called virsh.

Installing

Install virsh:

  1. From a Command Line
    sudo apt-get install virsh

Connecting

Connect to your hypervisor. This can be local, or even remote. In most cases, if you want to manage VMs running on the local hypervisor:

$ virsh connect qemu:///system
Connecting to uri: qemu:///system

Listing VMs

$ virsh list

Creating a Virtual Machine

Working with a Running Virtual Machine

Console

Details

Deleting a Virtual Machine

More Information

For more complete documentation on virsh, see: