After checking again, the XML file (/etc/libvirt/qemu/laranja.fritz.box.xml) contains (snipped):
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' passwd='qwerty'>
<listen type='address' address='0.0.0.0'/>
</graphics>
a virsh dumpxml produces after the vm is started (snipped):
<graphics type='vnc' socket='/var/lib/libvirt/qemu/laranja.fritz.box.vnc'>
<listen type='address' address='0.0.0.0'/>
</graphics>
After checking again, the XML file (/etc/libvirt/ qemu/laranja. fritz.box. xml) contains (snipped):
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' passwd='qwerty'>
<listen type='address' address='0.0.0.0'/>
</graphics>
a virsh dumpxml produces after the vm is started (snipped): '/var/lib/ libvirt/ qemu/laranja. fritz.box. vnc'>
<graphics type='vnc' socket=
<listen type='address' address='0.0.0.0'/>
</graphics>