qemu: fix cannot set graphic passwd via qemuDomainSaveImageDefineXML
qemu: fix cannot set graphic passwd via qemuDomainSaveImageDefineXML

https://bugzilla.redhat.com/show_bug.cgi?id=1183890

When we try to update a xml to a image file, we will clear the
graphics passwd settings, because we do not pass VIR_DOMAIN_XML_SECURE
to qemuDomainDefCopy, qemuDomainDefFormatBuf won't format the passwd.

Add VIR_DOMAIN_XML_SECURE flag when we call qemuDomainDefCopy
in qemuDomainSaveImageUpdateDef.

Signed-off-by: Luyao Huang <23d9981432efa88691fd2a71f5525bc2174f7664@redhat.com>

datto/libvirt,eskultety/libvirt,libvirt/libvirt,nertpinx/libvirt,datto/libvirt,olafhering/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,agx/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,taget/libvirt,shugaoye/libvirt,andreabolognani/libvirt,agx/libvirt,andreabolognani/libvirt,rlaager/libvirt,nertpinx/libvirt,libvirt/libvirt,rlaager/libvirt,shugaoye/libvirt,datto/libvirt,olafhering/libvirt,datto/libvirt,jardasgit/libvirt,olafhering/libvirt,zippy2/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,zippy2/libvirt,agx/libvirt,taget/libvirt,datto/libvirt,eskultety/libvirt,jardasgit/libvirt,shugaoye/libvirt,crobinso/libvirt,rlaager/libvirt,agx/libvirt,crobinso/libvirt,olafhering/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,jfehlig/libvirt,taget/libvirt,fabianfreyer/libvirt,rlaager/libvirt,nertpinx/libvirt,nertpinx/libvirt,taget/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,andreabolognani/libvirt,crobinso/libvirt,agx/libvirt,crobinso/libvirt,shugaoye/libvirt,rlaager/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,zippy2/libvirt,taget/libvirt,jfehlig/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,andreabolognani/libvirt,nertpinx/libvirt