20.21. Creating a Guest Virtual Machine from a Configuration File
Guest virtual machines can be created from XML configuration files. You can copy existing XML from previously created guest virtual machines or use the
Example 20.49. How to create a guest virtual machine from an XML file
The following example creates a new virtual machine from the existing guest1.xml configuration file. You need to have this file before beginning. You can retrieve the file using the
virsh dumpxmlcommand. See Example 20.48, “How to retrieve the XML file for a guest virtual machine” for instructions.
virsh create guest1.xml