[libvirt] [PATCH v2 02/17] util: Refactor virResctrlGetInfo in virresctrl