Re: [libvirt] [PATCHv2 05/16] storage: use enum for disk driver type

2012-10-16 Thread Eric Blake
On 10/13/2012 04:00 PM, Eric Blake wrote: Actually use the enum in the domain conf structure. * src/conf/domain_conf.h (_virDomainDiskDef): Store enum rather than string for disk type. * src/conf/domain_conf.c (virDomainDiskDefFree) (virDomainDiskDefParseXML, virDomainDiskDefFormat)

Re: [libvirt] [PATCHv2 05/16] storage: use enum for disk driver type

2012-10-14 Thread Doug Goldstein
On Sat, Oct 13, 2012 at 5:00 PM, Eric Blake ebl...@redhat.com wrote: Actually use the enum in the domain conf structure. * src/conf/domain_conf.h (_virDomainDiskDef): Store enum rather than string for disk type. * src/conf/domain_conf.c (virDomainDiskDefFree) (virDomainDiskDefParseXML,

[libvirt] [PATCHv2 05/16] storage: use enum for disk driver type

2012-10-13 Thread Eric Blake
Actually use the enum in the domain conf structure. * src/conf/domain_conf.h (_virDomainDiskDef): Store enum rather than string for disk type. * src/conf/domain_conf.c (virDomainDiskDefFree) (virDomainDiskDefParseXML, virDomainDiskDefFormat) (virDomainDiskDefForeachPath): Adjust users. *