Repository navigation
Commit cb2aca7
committed
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>1 parent 3a48171 commit cb2aca7
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3094 | 3094 | | |
3095 | 3095 | | |
3096 | 3096 | | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
3097 | 3102 | | |
3098 | | - | |
| 3103 | + | |
3099 | 3104 | | |
3100 | 3105 | | |
3101 | 3106 | | |
| |||
4510 | 4515 | | |
4511 | 4516 | | |
4512 | 4517 | | |
4513 | | - | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
4514 | 4522 | | |
4515 | 4523 | | |
4516 | 4524 | | |
| |||
0 commit comments