On 5/23/22 3:08 PM, Michal Privoznik wrote:
The virDomainDiskSourcePoolDefParse() function uses old style of
parsing XML (virXMLPropString + str2enum conversion). Use
virXMLPropEnumDefault() which encapsulates those steps.
virXMLPropEnum (above and in subject)
Signed-off-by: Michal Privoznik
The virDomainDiskSourcePoolDefParse() function uses old style of
parsing XML (virXMLPropString + str2enum conversion). Use
virXMLPropEnumDefault() which encapsulates those steps.
Signed-off-by: Michal Privoznik
---
src/conf/domain_conf.c | 12
src/conf/storage_source_conf.h
The virDomainDiskSourcePoolDefParse() function uses old style of
parsing XML (virXMLPropString + str2enum conversion). Use
virXMLPropEnumDefault() which encapsulates those steps.
Signed-off-by: Michal Privoznik
---
src/conf/domain_conf.c | 12
src/conf/storage_source_conf.h