[libvirt] [PATCHv2 2/8] util: fix saferead type