[libvirt] [PATCH 3/4] storage: Correct the 'mode' check