[libvirt] [PATCH] Portability fixes for directory storage backend