From nobody Sun Feb 8 17:46:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1638455010; cv=none; d=zohomail.com; s=zohoarc; b=nQQLem9AKfPqfegSwIgY201/Jt6nhj4fjYDV575RVPY9sfRtFvSxaHgsUaTMxwsoeyaALwII0Lahgq+gHZyInIX5XqZtxeQ5V+eoYjDhW85YTKcIA0N72k75ktBvRk4yeXLH660n2G4Lp/c4BgmIZUhCa9U8mPabEt0RDizj+vA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638455010; 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=20DFHcZtVNLvIH+Kf/ijr2lKftEX6XW5Ehoyq/wbFHw=; b=UYiiLmKrEZOmAb3l9Gc9Lwl58yoHW/jhOmocubBH/87fNIP1REVxnVyzKYw+fIp8sdW0t5aPfHjtCgQKTl7j7Uoiz4UHBH3dChzRhz7e9GQkQzI3wpQd+G5KxO8oC3qJoHPxdsUSffIJ+2UZrWRDC//fcGr+hFaIOuqdO1r/lI4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1638455010325420.0711401519852; Thu, 2 Dec 2021 06:23:30 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-575-9Mc1fb5vOqquzwFwhep6DQ-1; Thu, 02 Dec 2021 09:23:27 -0500 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 43B6C344AF; Thu, 2 Dec 2021 14:23:21 +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 081DE60C13; Thu, 2 Dec 2021 14:23:21 +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 8E0441809C89; Thu, 2 Dec 2021 14:23:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1B2EMAcR026682 for ; Thu, 2 Dec 2021 09:22:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6C88979447; Thu, 2 Dec 2021 14:22:10 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id E8D6D7944C for ; Thu, 2 Dec 2021 14:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638455009; 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=20DFHcZtVNLvIH+Kf/ijr2lKftEX6XW5Ehoyq/wbFHw=; b=TeTYkwPq5I31VC5snXK6mOrAN8oXuBUSBdlfVsI3n+/dcB/Gb2DHHmfo0SUU1dYoVeXm+2 o5f2GW2GPkoa3nMprcuxbFgE3pnP62F8a5DNc0gt6hUDgSdkrtVxS4MZeRx4SYO3xCLtHk l6EsLI76rJcPgFdtRRJqmKzjDg9UyE8= X-MC-Unique: 9Mc1fb5vOqquzwFwhep6DQ-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/3] qemu: Drop comma after QEMU_CAPS_LAST in queryDirtyRateRequired[] Date: Thu, 2 Dec 2021 15:22:05 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1638455010934100001 Content-Type: text/plain; charset="utf-8" The idea of queryDirtyRateRequired[] is that it lists QEMU capabilities required for given domstats record (VIR_DOMAIN_STATS_DIRTYRATE in this particular case) and QEMU_CAPS_LAST is used as a sentinel. Therefore, there can never be anything after it. Drop the comma to make it more obvious. Signed-off-by: Michal Privoznik --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index b88fb47032..d3430557f0 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -18667,7 +18667,7 @@ struct qemuDomainGetStatsWorker { =20 static virQEMUCapsFlags queryDirtyRateRequired[] =3D { QEMU_CAPS_QUERY_DIRTY_RATE, - QEMU_CAPS_LAST, + QEMU_CAPS_LAST }; =20 static struct qemuDomainGetStatsWorker qemuDomainGetStatsWorkers[] =3D { --=20 2.32.0