From nobody Thu Mar 28 21:50:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1637201815; cv=none; d=zohomail.com; s=zohoarc; b=TvdxgdGxqlVRMq0H1QbfY+0nJmyU5mrMjIk+LTsaKKwPGMDDwNg4uoZENu68kutm2Bakq2DR4NKM3DnLUjbc2A85FnAkdxrDxN9XpLAyNd8qmY79weP3+yNo3+TQK7N7pXY2QtPemT7zLf1VlfBU85B87Idq0s42e+4ACs5WR5I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1637201815; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=AYjyRECIBZDzC2TN1qTfJCHxARaCwiccxgK2ZhzlJEE=; b=bFRkQmr2gKmgqhTvre3bcuFWxfA9S7fC0pUNDjVTCEU2bDxEouG4QEDBs7Zasvq5ZXvWubPXnYqCBD6qf7CAgYYH3ShfPcgs5mVgDTCHex3KZ4ppjGD0aCGrx0QqBcXr363ztTp9kqxzkwi2QENEKiWylOk122Lt/32vvZ7dlMY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1637201814969292.4059590330096; Wed, 17 Nov 2021 18:16:54 -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-8-EOVaCbdcNreuhAe64krd2w-1; Wed, 17 Nov 2021 21:16:52 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 744E6100C610; Thu, 18 Nov 2021 02:16:47 +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 53A6D10016F4; Thu, 18 Nov 2021 02:16:45 +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 CA3E4180BAD2; Thu, 18 Nov 2021 02:16:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1AI2CFXZ015970 for ; Wed, 17 Nov 2021 21:12:15 -0500 Received: by smtp.corp.redhat.com (Postfix) id 53F2C26370; Thu, 18 Nov 2021 02:12:15 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-13-18.pek2.redhat.com [10.72.13.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2C2832657F; Thu, 18 Nov 2021 02:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637201813; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=AYjyRECIBZDzC2TN1qTfJCHxARaCwiccxgK2ZhzlJEE=; b=EwvaBmyOHPQNb6sdA+6ZjofwsNaHNJ5MVXWzKy+pBM5gPt/8+as796BiAZhsqrD44UQL4+ agusaMMDR8NnHeGNU6GT865SYscsBYSZZJjfdLUibMajhuspBZvk34e0/FKxUAm0IvE+XI XHJ/Hj4NN5CrC6Eih19YycE90MARnLw= X-MC-Unique: EOVaCbdcNreuhAe64krd2w-1 From: Han Han To: libvir-list@redhat.com Subject: [PATCH] docs: Use 'live' or 'lively' to describe the device events Date: Thu, 18 Nov 2021 10:12:06 +0800 Message-Id: <20211118021206.1643080-1-hhan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Han Han 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.22 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: 1637201815914100001 Content-Type: text/plain; charset="utf-8" The event of device added or removed only happens at live attachment or detachment. Make the comments more explicit. Signed-off-by: Han Han --- include/libvirt/libvirt-domain.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index 2f017c5b68..25ee06d0d6 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -4148,7 +4148,7 @@ typedef void (*virConnectDomainEventPMSuspendDiskCall= back)(virConnectPtr conn, * @devAlias: device alias * @opaque: application specified data * - * This callback occurs when a device is removed from the domain. + * This callback occurs when a device is lively removed from the domain. * * The callback signature to use when registering for an event of type * VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED with virConnectDomainEventRegisterAn= y() @@ -4165,7 +4165,7 @@ typedef void (*virConnectDomainEventDeviceRemovedCall= back)(virConnectPtr conn, * @devAlias: device alias * @opaque: application specified data * - * This callback occurs when a device is added to the domain. + * This callback occurs when a device is lively added to the domain. * * The callback signature to use when registering for an event of type * VIR_DOMAIN_EVENT_ID_DEVICE_ADDED with virConnectDomainEventRegisterAny() @@ -4183,7 +4183,7 @@ typedef void (*virConnectDomainEventDeviceAddedCallba= ck)(virConnectPtr conn, * @devAlias: device alias * @opaque: application specified data * - * This callback occurs when it's certain that removal of a device failed. + * This callback occurs when it's certain that live removal of a device fa= iled. * * The callback signature to use when registering for an event of type * VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED with --=20 2.33.1