From nobody Sun Feb 8 21:48:43 2026 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=1587031023; cv=none; d=zohomail.com; s=zohoarc; b=M77Ow2pIwidJIbz+LYoY+HAELIdN0JUoqYwrJAoKC5moz/CGwX4K/ph9IJkQ7bluH5xfDfFQf21YFrb37OgD49JESyMilkXpkRXuqmwpCKWx4rUhSPeY19oZpgJJwWRV+g32A/lzawd3B0Ao8NCCFQQM+ihFlYNv3Sm3lapF92Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587031023; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fNC/50DyNaFN14cf3mL8ZifbG5hDkqYUaRN3GZaPLb0=; b=Ns1n4xZO+gTJZwqf/p/35io9DbXHkSu5BSSFE/115+LtlgoATW+m5pEI4NGRPSgGDvuwXz2u1WX7MhK0cfMLKcJfMEonsL1XnlfEjv2uQtqI06Sp6uqWcIRq3vYnQuHKGnvlwrt+mZTakb7RbFvesxdzHpUPLfAIIUSGMhB+Ut8= 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 1587031023676878.748351570931; Thu, 16 Apr 2020 02:57: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-53-rdvhljXRNtO-tF46iuMToQ-1; Thu, 16 Apr 2020 05:56:17 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D07CB8017F3; Thu, 16 Apr 2020 09:56:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A7C9F119EAF; Thu, 16 Apr 2020 09:56:11 +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 5FA1F9338F; Thu, 16 Apr 2020 09:56:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03G9tq1t020177 for ; Thu, 16 Apr 2020 05:55:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id C1B375DA7B; Thu, 16 Apr 2020 09:55:52 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.40.208.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3DA1E5DA2C for ; Thu, 16 Apr 2020 09:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587031022; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fNC/50DyNaFN14cf3mL8ZifbG5hDkqYUaRN3GZaPLb0=; b=NgdbuZm6aQdXmmGZc48Xi2O7Uq4CAGi+f82eYS7S+OItp2uQviEj1G+3T3rqfZ1TACcyFV NpcY7xFe56NoCge2sWNxbG1niAX8PiD6EMJp2fdjuz175J/JHtpoXK91MjmZPWcWVhLxWz t38iEGwktfSFTBTqjIOPjOZczN5Z7qc= X-MC-Unique: rdvhljXRNtO-tF46iuMToQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/5] remote: remoteDispatchDomainGetJobStats: Encode typed parameter strings Date: Thu, 16 Apr 2020 11:55:42 +0200 Message-Id: <23a32c58a985f69565d6da69e3fc2be2024d10c7.1587030883.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com 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.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" String typed parameter values were introduced in v0.9.7-30-g40624d32fb. virDomainGetJobStats was introduced in v1.0.2-239-g4dd00f4238 so all clients already support typed parameter stings at that time thus we can enable it unconditionally. Signed-off-by: Peter Krempa Reviewed-by: Eric Blake --- src/remote/remote_daemon_dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon= _dispatch.c index c5506c2e11..5d1c6971c0 100644 --- a/src/remote/remote_daemon_dispatch.c +++ b/src/remote/remote_daemon_dispatch.c @@ -5505,7 +5505,7 @@ remoteDispatchDomainGetJobStats(virNetServerPtr serve= r G_GNUC_UNUSED, REMOTE_DOMAIN_JOB_STATS_MAX, (virTypedParameterRemotePtr *) &ret->param= s.params_val, &ret->params.params_len, - 0) < 0) + VIR_TYPED_PARAM_STRING_OKAY) < 0) goto cleanup; rv =3D 0; --=20 2.26.0