[libvirt] [PATCH 2/3] storage: Combine some duplicate code