From: Peter Krempa Date: Wed, 15 Jul 2020 11:09:32 +0000 (+0200) Subject: virDomainSetBlockThreshold: Mention that the event can be registered for X-Git-Tag: v6.6.0-rc1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b90e31c6462c34a5a5302579980acfd7b20aef;p=thirdparty%2Flibvirt.git virDomainSetBlockThreshold: Mention that the event can be registered for The infrastructure supports setting the threshold also for the . Mention it in the docs. https://bugzilla.redhat.com/show_bug.cgi?id=1807741 Signed-off-by: Peter Krempa Reviewed-by: Eric Blake --- diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 31c1ab4cc1..0b8c3737d5 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 of a + * 'virDomainBlockCopy' destination by using the 'index' of the 'mirror' source. + * * Hypervisors report the last written sector of an image in the bulk stats API * (virConnectGetAllDomainStats/virDomainListGetStats) as * "block..allocation" in the VIR_DOMAIN_STATS_BLOCK group. The current