In step 1, we used the virsh command and supplied all argument to list all active and inactive instances. As expected, we started with no instances defined.
In step 2, we created a definition file for a new KVM instance. We used a small subsection of the available XML schema attributes to set the following options:
- The root element of the XML file is required for all virtual machine definitions and is named domain. It has two attributes--type and id. We specified kvm as the type and an id as 1 because this is our first KVM virtual machine. All other attributes are defined under the domain root element.
- We specified a name for the instance with the name attribute.
- The memory attribute defines the available memory to the VM, ...