cloudstack/plugins/hypervisors
Rohit Yadav c116ca968e CLOUDSTACK-8613, CLOUDSTACK-6301: Dump KVM domain XML with secure flag
When dumping XML use appropriate flags:

1, VIR_DOMAIN_XML_SECURE (dump security sensitive information too)
8, VIR_DOMAIN_XML_MIGRATABLE (dump XML suitable for migration)

Source:
https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainXMLFlags

This fixes CVE 2015-3252: VNC password lost during VM migration across KVM
hosts. The issue is also seen when a VM is rebooted.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit cb2aca7516)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2015-08-14 10:52:58 +05:30
..
baremetal cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
hyperv cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
kvm CLOUDSTACK-8613, CLOUDSTACK-6301: Dump KVM domain XML with secure flag 2015-08-14 10:52:58 +05:30
ovm cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
simulator cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
ucs cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
vmware cloudstack: change version to 4.3.2 2014-12-11 19:08:36 +05:30
xen CLOUDSTACK-8160: use preferable protocols 2015-01-21 18:24:54 +05:30