]> xenbits.xensource.com Git - libvirt.git/commit
conf: domain: Convert virDomainDiskDef's 'rawio' to virTristateBool
authorPeter Krempa <pkrempa@redhat.com>
Fri, 16 Apr 2021 08:46:00 +0000 (10:46 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Apr 2021 12:44:00 +0000 (14:44 +0200)
commit56a190068d29fbc8b121f698a6684fa6839e7953
treef981affbcf3b510d8e4321eebee5f01c5cf89d13
parent35efc9b5353de862a8e858b6631e8b4d4ec1fd83
conf: domain: Convert virDomainDiskDef's 'rawio' to virTristateBool

Use the appropriate type for the variable and refactor the XML parser to
parse it correctly using virXMLPropEnum.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h