Virsh:与dumpxml编辑不同的XML。 为什么?

我试图从libVirtpipe理的虚拟机中获取VNC访问数据。 但是,当我运行virsh dumpxml $machine ,vnc passwd丢失:

 <graphics type='vnc' port='-1' autoport='yes'/> 

使用virsh edit $machine检查相同的,我看到的密码实际上是在那里:

 <graphics type='vnc' port='-1' autoport='yes' passwd='asdf'/> 

为什么是这样? 这是故意的(什么原因?),或者这可能是一个错误?

这是故意的; 在libvirt源代码中查找VIR_DOMAIN_XML_SECURE标志。