From nobody Mon Feb 9 15:45:37 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=fail(p=none dis=none) header.from=git.sr.ht ARC-Seal: i=1; a=rsa-sha256; t=1697078716; cv=none; d=zohomail.com; s=zohoarc; b=dDoxTD1gJ0VfkVGg/61oXP0NrUlpjuHtTvKCtZ42PWAu4G6yfw9IXiBhxoP5BnsUNcjfn3mmIbkzJj20IcGHTZloY1Er2f9iBP9tSI/q9tzNoxOyrfu9JJdQYb8LfwfSIWZO0klFV42inMsRbwIZbrcpWISpOvzIQH0y/sCX8Xg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697078716; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=qLsDhxkA+laFO5Qo/NXF61TPGO8WWAzKkLozUbjXFp4=; b=OUpFseDoen8NlqjsbscZTIWdQ8dId3/mmo7foOZI0ietyxjyyaUTZuvH6g/XT/R8KnC3p1Q/r+MxhQDXUCLVGAragxr6iwOo4dnpuEYwkedDUV0YcwoWJTXqxgPHUpSCcKDGjlheAyfkM7HLTilhfOnl6u9vvTXvvZeFLtPaFz0= 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=fail 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 1697078715908695.7601882817066; Wed, 11 Oct 2023 19:45:15 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-643-oh1fuUCuNV2gzEcY4wtC0g-1; Wed, 11 Oct 2023 22:45:11 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 797BA2815E43; Thu, 12 Oct 2023 02:45:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9DB6C492B00; Thu, 12 Oct 2023 02:45:07 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2955719465A2; Thu, 12 Oct 2023 02:45:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id ACAEB1946586 for ; Thu, 12 Oct 2023 02:45:05 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9CD4910F1BE8; Thu, 12 Oct 2023 02:45:05 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 94CEC10F1BE7 for ; Thu, 12 Oct 2023 02:45:05 +0000 (UTC) Received: from us-smtp-inbound-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7C695858280 for ; Thu, 12 Oct 2023 02:45:05 +0000 (UTC) Received: from mail-b.sr.ht (mail-b.sr.ht [173.195.146.151]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-628-fi8FFdoEMsmM8YHy7tRJIg-1; Wed, 11 Oct 2023 22:45:03 -0400 Received: from git.sr.ht (unknown [173.195.146.142]) by mail-b.sr.ht (Postfix) with ESMTPSA id 8F9DB11F1D4; Thu, 12 Oct 2023 02:39:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697078714; h=from:from:sender:sender:reply-to: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=qLsDhxkA+laFO5Qo/NXF61TPGO8WWAzKkLozUbjXFp4=; b=WUE3wO1sknachFBOZ+dt3CyV/7eHQ95XRcsUyWjpqTcNoBEacgIF5rHiVZd3cGLpQHxbor Ae0SKPfnhoCf3/2OEEpr7FEZuYcPfRq4gEBCVRPrp3GlSZoa+6FlThvbawDSiy6L0ovve+ 6fbnXpnZTeg53noKc3I3dQCBF2obbGo= X-MC-Unique: oh1fuUCuNV2gzEcY4wtC0g-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: fi8FFdoEMsmM8YHy7tRJIg-1 From: ~hyman Date: Wed, 11 Oct 2023 10:09:39 +0800 Subject: [PATCH Libvirt 1/4] Add VIR_MIGRATE_DIRTY_LIMIT flag Message-ID: <169707837820.18882.17395313264013602078-1@git.sr.ht> In-Reply-To: <169707837820.18882.17395313264013602078-0@git.sr.ht> To: libvir-list@redhat.com MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ~hyman Cc: yong.huang@smartx.com Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: git.sr.ht Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1697078717885100003 From: Hyman Huang The flag can be used to enable dirty-limit capability for live migration. Signed-off-by: Hyman Huang --- include/libvirt/libvirt-domain.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index a1902546bb..4a4209c01a 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -1100,6 +1100,11 @@ typedef enum { * Since: 8.5.0 */ VIR_MIGRATE_ZEROCOPY =3D (1 << 20), + + /* Enable dirty-limit capability to make migration convergent. + * Since: 9.9.0 + */ + VIR_MIGRATE_DIRTY_LIMIT =3D (1 << 21), } virDomainMigrateFlags; =20 =20 --=20 2.38.5