[libvirt] [PATCH v5 3/7] Add error checking on global quota and period