dumpxml

Displays the current libvirt-internal configuration of a defined virtual server.

Syntax


1  dumpxml!  --domain <VS>?  --inactive

1 ?  --security-info?  --update-cpu?  --migratable
Where:
<VS>
Is the name, the ID, or the UUID of the virtual server.

Selected options

--domain
Specifies the virtual server.
--migratable
Displays a version of the current libvirt-internal configuration that is compatible with older libvirt releases.
--inactive
Displays a defined virtual server, which is not in running state.
--security-info
Includes security-sensitive information.
--update-cpu
Updates the virtual server according to the host CPU.

Usage

Displaying the current libvirt-internal configuration

Example

This example displays the current domain configuration-XML of virtual server vserv1.
# virsh dumpxml vserv1