From nobody Thu Mar 28 09:44:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1589538663; cv=none; d=zohomail.com; s=zohoarc; b=GJa3zHxeYXX29AA7k9gdSGWAm0y9HbPZxS1UyxN3hUvg6vgmNB4XhE7dlnVjCOUZOI0pECmbbd4PA6RVkF2bmur5K16yRHkkXfWPNqB+zmSRZ8WCo8aMxoQSZjadG5EQPaEhr5ZZdWfxQya9JJocBSxTR9TlHZaVPNkvlLb/rtw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589538663; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=qtlIDqUOKXVQMIDJrXC9UM3TsCldoz5Wx6N9M31C9Cw=; b=L45PTpiVqt14WgSNOPdxYCEa+bErA/CsZ4Rumu6KnHIawRaagYiIZ2NGP255NrfhvJvdZ37oh9qCWe1WG8CXacomW/N62A1Tpq/0kOSfAQRXnIxEQecXTygDVO8qagGU7BUFvqJATXu061bRGGwaWGsklHt71LhHMz9in/eQ6L4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1589538663937564.4988135892296; Fri, 15 May 2020 03:31:03 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-318-3UReD6JUN1iRfjX5Ffcg4g-1; Fri, 15 May 2020 06:30:59 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3621C107ACF2; Fri, 15 May 2020 10:30:54 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1434D60C05; Fri, 15 May 2020 10:30:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D6414180954D; Fri, 15 May 2020 10:30:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04FAUqNZ015515 for ; Fri, 15 May 2020 06:30:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id 17CC12157F24; Fri, 15 May 2020 10:30:52 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E1F7D2157F25 for ; Fri, 15 May 2020 10:30:49 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B324A833B46 for ; Fri, 15 May 2020 10:30:49 +0000 (UTC) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-16-32iCRq0CM0CmdTdnBCaXYw-1; Fri, 15 May 2020 06:30:48 -0400 Received: by mail-wm1-f72.google.com with SMTP id x11so789381wmc.9 for ; Fri, 15 May 2020 03:30:47 -0700 (PDT) Received: from auriga.redhat.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id v126sm3078599wmb.4.2020.05.15.03.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 03:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589538662; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qtlIDqUOKXVQMIDJrXC9UM3TsCldoz5Wx6N9M31C9Cw=; b=jFXIY9wrzd8xa5YH3vYAsBVyuCYs0zW9gVvonAjvbYC1lNvCBkUCystpMPQL6DjRXl4rCO KPpy3A1ZITgd8yRiLqAdYvl5QpMJkz02Z9nT2VGQwFO1mbsuPR9dWtDSxvxv090IhyN5rR jF7K1Vz/sBU0IgyZ62r1/su7u1nbpMI= X-MC-Unique: 3UReD6JUN1iRfjX5Ffcg4g-1 X-MC-Unique: 32iCRq0CM0CmdTdnBCaXYw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qtlIDqUOKXVQMIDJrXC9UM3TsCldoz5Wx6N9M31C9Cw=; b=Z60GqQJroa0dVaUh9fKWfigo2uleAjjFnoCZWtzfAfvTh0c3tjNqtJq51eH074AiZ0 q6Z7E432XHkpIlyjEyIhsgKzIuxQkTXca66wFO3bAwkFuztdBcUXGskb+ThKHReIDrUz LujgZ4wqnx86iALMzypT0wmrIzWfAjF70TynY2/lLYNwWMfZu6KH2i22VyGYAB3NhqX1 SjToFKiL0P4BjmQ/uM6CgK1vPI/UjaA3UEa7FOQ3G8A7ymjZqDVAAccFINNie33FMy+A osGI8ujCHBFIDpNbMYs4A/QQ/gdrct/OD1dRfvXmQZLimGpQ6lUkyYBOj2fc7gGzDf49 N53A== X-Gm-Message-State: AOAM533pUnyjK5EO0Dr+lRWyD1BX6JmUrisqxJkGUogbbWwpwtE/NTL+ NcXvYghU+uZEvQs9XKFWXik8G7tvJMlighmr/HwUB3NNBr/z2vbW+mLjEqHKCO1Cn510tL6ski0 GvmBwOdifAXhf3Jv3fig= X-Received: by 2002:adf:e50d:: with SMTP id j13mr3367951wrm.383.1589538646386; Fri, 15 May 2020 03:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEWTtOD5xwed6SWzVDEHpINKJ0m2OlWs0w2m+0LJn55fJHIpQlsMCIXUZ/GYGOSsASxiom+Q== X-Received: by 2002:adf:e50d:: with SMTP id j13mr3367930wrm.383.1589538646109; Fri, 15 May 2020 03:30:46 -0700 (PDT) From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= To: libvir-list@redhat.com Subject: [libvirt PATCH] docs: document proper enum for guest agent timeout Date: Fri, 15 May 2020 12:30:44 +0200 Message-Id: <60c697827279135f988c1d3db7a0acc26a97fe6f.1589538635.git.tgolembi@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Cc: Jonathon Jongsma , =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The documented enum and its values do not exits. The real enum has slightly different name. Signed-off-by: Tom=C3=A1=C5=A1 Golembiovsk=C3=BD Reviewed-by: Michal Privoznik --- src/libvirt-domain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index a12809c2d5..37f864b7b0 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -12550,13 +12550,13 @@ int virDomainGetLaunchSecurityInfo(virDomainPtr d= omain, * Set how long to wait for a response from guest agent commands. By defau= lt, * agent commands block forever waiting for a response. * - * @timeout must be a value from virDomainAgentCommandTimeoutValues or + * @timeout must be a value from virDomainAgentResponseTimeoutValues or * positive: * - * VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_BLOCK(-2): meaning to block forever + * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK(-2): meaning to block forever * waiting for a result. - * VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_DEFAULT(-1): use default timeout val= ue. - * VIR_DOMAIN_AGENT_COMMAND_TIMEOUT_NOWAIT(0): does not wait. + * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT(-1): use default timeout va= lue. + * VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT(0): does not wait. * positive value: wait for @timeout seconds * * Returns 0 on success, -1 on failure --=20 2.25.0