From nobody Sun Feb 8 18:44:52 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=1594818652; cv=none; d=zohomail.com; s=zohoarc; b=EQ7UfOn4N2+qgxPpdmF+xNW7otNsujqrKBIadopq84zjOblHXbsIr5Jk3ne5eHKKJUpFKT+1aMMc5UBhCr90NhQaPh53KWgvJSHh4dcYhb00yqa3gZXT1bz25uaBM2j4sI4CbwMnsQ4UpH08V37o7f4Ue9ImshGM45bfDRk15K0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594818652; 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=PHbwdmIfYUaEi90WscPrYTqQQI7ykb5cktuPvNRx/2M=; b=AFGiyQdjZGCtp+McXe/MQpZYfY4hf3cEY5fVliFfSnbirUZ4iuhCTJnXErH7xp/J66MmDeVE08VMj1O8XkEn925za0a5BXheorRtBa8Kc585aSmx4p0yk4EV3oy4y8zwRC4bxl/jNJzNQGjf9LIxJQzgLH5sC4UPT6wC8FrT4zI= 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 1594818652624520.4535210794966; Wed, 15 Jul 2020 06:10:52 -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-222-8jy_B7NCOPyx9spEXBXvLw-1; Wed, 15 Jul 2020 09:10:49 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 66435800400; Wed, 15 Jul 2020 13:10:42 +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 411B82DE98; Wed, 15 Jul 2020 13:10:42 +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 124DC94F1B; Wed, 15 Jul 2020 13:10:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06FDAbAN005839 for ; Wed, 15 Jul 2020 09:10:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6884860BF4; Wed, 15 Jul 2020 13:10:37 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id BD7866FEFD for ; Wed, 15 Jul 2020 13:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594818651; 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=PHbwdmIfYUaEi90WscPrYTqQQI7ykb5cktuPvNRx/2M=; b=UAFMITM8amTAP9fmGwyZw489Cg0BYq8UmYOmjbqYJjP4bObfBTEzLMq8mplBzcALkBPzTB 1pKBe3sSAGoJGmJDymMunarf4N3KOL+iaJdBmkEZhmkNeqqiiU68PmuWUu0hmNkH4pgfZc nkaByxtfpPPeYJShZ57QJrFO1GHQmhg= X-MC-Unique: 8jy_B7NCOPyx9spEXBXvLw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 10/10] virDomainSetBlockThreshold: Mention that the event can be registered for Date: Wed, 15 Jul 2020 15:10:12 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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.84 on 10.5.11.23 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" The infrastructure supports setting the threshold also for the . Mention it in the docs. https://bugzilla.redhat.com/show_bug.cgi?id=3D1807741 Signed-off-by: Peter Krempa Reviewed-by: Eric Blake --- src/libvirt-domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 6c5ff5b0db..a4e73d5480 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -12381,6 +12381,9 @@ int virDomainGetGuestInfo(virDomainPtr domain, * live VM XML for 'backingStore' or 'source' elements of a disk. If index= is * given the threshold is set for the corresponding image. * + * Note that the threshold event can be registered also for destinations o= f a + * 'virDomainBlockCopy' destination by using the 'index' of the 'mirror' s= ource. + * * Hypervisors report the last written sector of an image in the bulk stat= s API * (virConnectGetAllDomainStats/virDomainListGetStats) as * "block..allocation" in the VIR_DOMAIN_STATS_BLOCK group. The curre= nt --=20 2.26.2