From nobody Mon Feb 9 13:22:31 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=1636016331; cv=none; d=zohomail.com; s=zohoarc; b=NkkmUNonU8iwmLo7OwOZvFOI4sfSz2IpTQhDRTIRqiCgWwHgHVyQgDGZQ2irlH1EdeGkzGjd5RJqFu7Q2qRnAJpIbaahA/qIFxfmUR0gmREKkwa+q4Amsae+3uaK/vcQSHpnBsSI6D/umF11nxkKj5FISafUEe/2wcRNWDP107w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636016331; h=Content-Type:Content-Transfer-Encoding:Cc: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=hPrajxVI3EG7oEK3FbUHDchzsqfsHSPzqU9rl06oiDc=; b=WFxobB+3iG0Iwqq5tDRjvBj26HsWEzluWPU28ZtnKPisUyjqy1b1IUR/bKmmjxmlI5hkbuOv5omQwEnBpuDurpRcqsQimTTPDGzm98tfHlk/kPWM+Sc76WVnff/nmlXUythoNOkQj6n8PcQsqzrjPMyWRz9eKRc22/jI1ZG4QGI= 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 163601633140277.99634541730484; Thu, 4 Nov 2021 01:58:51 -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-177-i07_ob_pM1GGC78gIsj3pg-1; Thu, 04 Nov 2021 04:58:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1EA361006AA6; Thu, 4 Nov 2021 08:58:41 +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 E6F765F4F7; Thu, 4 Nov 2021 08:58:40 +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 9AF974E58E; Thu, 4 Nov 2021 08:58:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1A48wde5018068 for ; Thu, 4 Nov 2021 04:58:39 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3897C7092E; Thu, 4 Nov 2021 08:58:39 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-112-7.ams2.redhat.com [10.36.112.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2FB6B708E2; Thu, 4 Nov 2021 08:58:13 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id B6A7C11380AA; Thu, 4 Nov 2021 09:58:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636016330; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hPrajxVI3EG7oEK3FbUHDchzsqfsHSPzqU9rl06oiDc=; b=YBF6v2fXXyy5uZGCsJPqDZFZwlb1AJwrXmIyP+PuCfDFPTamE4484zJBkYAjiCXlQlEoV5 DAVOuZdMDJEFJg24ysvxDEPt5+bPA3V12LH7z8YwFdUvGhx2w29HtUPISVLSLevnxLmqDf +GwHi19TUwmtFvgOu2+QgnR5r2rHR5s= X-MC-Unique: i07_ob_pM1GGC78gIsj3pg-1 From: Markus Armbruster To: qemu-devel@nongnu.org Subject: [PATCH v4 1/3] docs/block-replication: use blockdev-backup Date: Thu, 4 Nov 2021 09:58:09 +0100 Message-Id: <20211104085811.1736654-2-armbru@redhat.com> In-Reply-To: <20211104085811.1736654-1-armbru@redhat.com> References: <20211104085811.1736654-1-armbru@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: vsementsov@virtuozzo.com, qemu-block@nongnu.org, libvir-list@redhat.com, jsnow@redhat.com, xiechanglong.d@gmail.com, wencongyang2@huawei.com, eblake@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.15 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: 1636016332926100003 Content-Type: text/plain; charset="utf-8" From: Vladimir Sementsov-Ogievskiy We are going to deprecate drive-backup, so don't mention it here. Moreover, blockdev-backup seems more correct in the context. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: John Snow Signed-off-by: Markus Armbruster --- docs/block-replication.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/block-replication.txt b/docs/block-replication.txt index 108e9166a8..59eb2b33b3 100644 --- a/docs/block-replication.txt +++ b/docs/block-replication.txt @@ -79,7 +79,7 @@ Primary | || Secondary disk <--------- h= idden-disk 5 <--------- || | | || | | || '-------------------------' - || drive-backup sync=3Dnone 6 + || blockdev-backup sync=3Dnone 6 =20 1) The disk on the primary is represented by a block device with two children, providing replication between a primary disk and the host that @@ -101,7 +101,7 @@ should support bdrv_make_empty() and backing file. that is modified by the primary VM. It should also start as an empty disk, and the driver supports bdrv_make_empty() and backing file. =20 -6) The drive-backup job (sync=3Dnone) is run to allow hidden-disk to buffer +6) The blockdev-backup job (sync=3Dnone) is run to allow hidden-disk to bu= ffer any state that would otherwise be lost by the speculative write-through of the NBD server into the secondary disk. So before block replication, the primary disk and secondary disk should contain the same data. --=20 2.31.1