<domain type='vmware'>
<name>serial-file</name>
<uuid>564d9bef-acd9-b4e0-c8f0-aea8b9103515</uuid>
<memory unit='KiB'>4096</memory>
<os>
<type>hvm</type>
</os>
<devices>
<serial type='file'>
<source path='[datastore] directory/serial0.file'/>
<target port='0'/>
</serial>
</devices>
</domain>