define

Creates a persistent virtual server definition.

Syntax


1  define <XML-filename>? --validate
Where:
<XML-filename>
Is the name of the domain configuration-XML file.

Selected options

--validate
Validates the domain configuration-XML file against the XML schema.

Usage

Example

This example defines the virtual server, which is configured in domain configuration-XML file vserv1.xml.
# virsh define vserv1.xml