On 5/23/22 3:08 PM, Michal Privoznik wrote:
The virDomainDiskDefMirrorParse() function uses old style of
parsing XML (virXMLPropString + str2enum conversion). Use
virXMLPropEnumDefault() which encapsulates those steps.
... and virXMLPropEnum()
Signed-off-by: Michal Privoznik
---
src/conf/d
The virDomainDiskDefMirrorParse() 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 | 26 ++
src/conf/domain_conf.h | 4
The virDomainDiskDefMirrorParse() 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 | 26 ++
src/conf/domain_conf.h | 4