[libvirt] [PATCH v4 03/25] qemusecuritymock: Actually set error on failure