--- src/remote/remote_driver.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index e5bfa4b..28f333b 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -2928,7 +2928,7 @@ static int remoteDomainEventRegister(virConnectPtr conn, remoteDriverLock(priv); if (priv->domainEventState->timer < 0) { - remoteError(VIR_ERR_NO_SUPPORT, "%s", _("no event support")); + remoteError(VIR_ERR_OPERATION_INVALID, "%s", _("no event support")); goto done; } @@ -3277,7 +3277,7 @@ remoteSecretGetValue (virSecretPtr secret, size_t *value_size, /* internalFlags intentionally do not go over the wire */ if (internalFlags) { - remoteError(VIR_ERR_NO_SUPPORT, "%s", _("no internalFlags support")); + remoteError(VIR_ERR_OPERATION_INVALID, "%s", _("no internalFlags support")); goto done; } @@ -3541,7 +3541,7 @@ static int remoteDomainEventRegisterAny(virConnectPtr conn, remoteDriverLock(priv); if (priv->domainEventState->timer < 0) { - remoteError(VIR_ERR_NO_SUPPORT, "%s", _("no event support")); + remoteError(VIR_ERR_OPERATION_INVALID, "%s", _("no event support")); goto done; } -- 1.7.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list