Este conteúdo não está disponível no idioma selecionado.

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
Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo