[libvirt] [PATCH 1/2] storage: split off code for calling rbd_list