Show Table of Contents
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
virsh dumpxml command.
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 dumpxml command. See Example 20.48, “How to retrieve the XML file for a guest virtual machine” for instructions.
# virsh create guest1.xml
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.