This section shows how to start a KVM virtual machine using Virt-manager.
Start the graphical interface by command Virt-manager first
# Virt-manager
Click on the icon above to create a virtual machine
Name the virtual machine kvm1, where you choose to start the virtual machine. If you are installing a new OS, you can select the first item. If you already have an image file installed, select the last item (e.g.)
Next you need to tell the location of the Virt-manager image.
Click "Browser"
A cirros-0.3.3-x86_64-disk.img image file is stored in my system. Cirros is a very small Linux image, very suitable for testing, you can go to http://download.cirros-cloud.net/download, and then put in/var/lib/libvirt/images/directory, this is the KVM The default location to find the image file.
Allocating CPU and memory to virtual machines
Click "Forward", and then confirm the information, you can start the virtual machine.
Virt-manager will open the console window of the virtual machine kvm1 to see the boot situation
Virt-manager can be a variety of virtual machine management operations, the interface is intuitive and friendly, easy to get started. At the same time we can also use the command Virsh to manage the virtual machine, such as viewing the virtual machine on the host
[Email protected]:~# virsh listId Name State --------------------------------8 kvm1 Running
at this point, the first virtual machine has run, the default settings are used, we will gradually discuss the details of the virtual machine, such as storage and network card settings.
Start the first KVM virtual machine-5 minutes a day to play with OpenStack (4)