libvirt XMLDesc(flags) The flag is important, some time we want to haveVIR_DOMAIN_XML_SECURE to get sensitive info. In most cases we want to use VIR_DOMAIN_XML_INACTIVE for running VMs, in some cases we want to get the live state. So far the module use flag=0 which is live one without sensitive data. We need to give an additional flag parameter for this.
ISSUE TYPE
Feature Idea: add a flags parameter to pass into XMLDesc(), it can just be a list of int.
migrated from ansible
SUMMARY
libvirt XMLDesc(flags)
The flag is important, some time we want to haveVIR_DOMAIN_XML_SECURE
to get sensitive info. In most cases we want to useVIR_DOMAIN_XML_INACTIVE
for running VMs, in some cases we want to get the live state. So far the module use flag=0 which is live one without sensitive data. We need to give an additional flag parameter for this.ISSUE TYPE
COMPONENT NAME
virt
ADDITIONAL INFORMATION
virt: command=get_xml flags=[...]