From nobody Sat Apr 20 04:21:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1593441811; cv=none; d=zohomail.com; s=zohoarc; b=K8Oi8sgybIa0L4HE9tziTEYm9H2RJ/jZIxJs7Rdq/+O00vvT1s4rphpF9CPwsPDbMSMjdtoB2rx3nw79vawVHX8FVroXul4zMK8Uq6Vet3JcKnSsXu6z++e+1EI7VF4QPgz5bhEjhzyb9L8cuikkt5VNc+PWOrXT/3hAhrkq1Vo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593441811; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=OdlnREcOvXlf0ShY8/IvJ5zz90sUw5+DOFWQ+F4Pl5s=; b=WZ5ndM3GfAT7TnfG+mCZ30VzUpd1U+10pvOL/S1avrCYwUcdLF8N1paFW+PnfO4ZlBEubhTcZfjN7LrWhYjVNeTqXuvdLc8+aMp059krefCCd1zz7K1+0vs6DsVDzO1Yar5lIC4RbgPBLLjsEkRgZl2K0C+GLYAemTcYc9CEP+8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1593441811292401.45907158355624; Mon, 29 Jun 2020 07:43:31 -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-343-37Zf1-ZvNbKXpMwi2g-ZAA-1; Mon, 29 Jun 2020 10:43:26 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1F9C984E21D; Mon, 29 Jun 2020 14:43:19 +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 2B5697813C; Mon, 29 Jun 2020 14:43:18 +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 2AD651809547; Mon, 29 Jun 2020 14:43:17 +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 05TEhG1l019585 for ; Mon, 29 Jun 2020 10:43:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5614A5D9E7; Mon, 29 Jun 2020 14:43:16 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.241]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA3165D9D7 for ; Mon, 29 Jun 2020 14:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593441808; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OdlnREcOvXlf0ShY8/IvJ5zz90sUw5+DOFWQ+F4Pl5s=; b=VTlXatYuzGLkZQczSUKEyiYf2RjjYLqisqYvHcKmcQK/TOtxVdp/1T7rvU9TX2/OL8bWP4 1JYs/dx56C9uT+sYaHyGsAB3P3xyxpCsm8d4/lzCbPlCAm4HzZLoYqbKzCXdlZBAaZP5AN 5zViJ4wEfQyJ2jLVU1q6HDVp7kLINAM= X-MC-Unique: 37Zf1-ZvNbKXpMwi2g-ZAA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] virConnectGetAllDomainStats: Document two vcpu stats Date: Mon, 29 Jun 2020 16:43:09 +0200 Message-Id: <310dd400097db88fc8709128d25e2a9f77c6d3c4.1593441781.git.mprivozn@redhat.com> 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.14 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" When introducing vcpu..wait (v1.3.2-rc1~301) and vcpu..halted (v2.4.0-rc1~36) the documentation was not written. Signed-off-by: Michal Privoznik Reviewed-by: Erik Skultety --- src/libvirt-domain.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 60b5e65fc3..52ce3ef798 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -11493,6 +11493,11 @@ virConnectGetDomainCapabilities(virConnectPtr conn, * from virVcpuState enum. * "vcpu..time" - virtual cpu time spent by virtual CPU * as unsigned long long. + * "vcpu..wait" - time the vCPU wants to run, but the host + * scheduler has something else running ahead of i= t. + * "vcpu..halted" - virtual CPU is halted, may indicate the + * processor is idle or even disabled, depending + * on the architecture) * * VIR_DOMAIN_STATS_INTERFACE: * Return network interface statistics (from domain point of view). --=20 2.26.2