[PATCH 0/2] conf: Turn virDomainDeviceDef->type into proper type