From nobody Mon Feb 9 13:04:38 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1702095541805388.93610847191565; Fri, 8 Dec 2023 20:19:01 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 8BD1C1863; Fri, 8 Dec 2023 23:19:00 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id B52161864; Fri, 8 Dec 2023 23:16:33 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 6F42417D0; Fri, 8 Dec 2023 23:16:24 -0500 (EST) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id A914717D4 for ; Fri, 8 Dec 2023 23:16:21 -0500 (EST) Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3b9e2a014e8so1590362b6e.2 for ; Fri, 08 Dec 2023 20:16:21 -0800 (PST) Received: from localhost.localdomain ([125.69.8.58]) by smtp.gmail.com with ESMTPSA id c5-20020a170902d90500b001d049ef0c1fsm2472513plz.190.2023.12.08.20.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 20:16:19 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702095380; x=1702700180; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h5HxGg+3scc2m7oZLgDV2pMhez8oarUKMUXuvW6k2KY=; b=f0kOulVLin2lcUNXlMTHb11BwhNe48cOYfMAXEi6paTZtJb65QEWwgppNeyvzGuEkO f/m15ONpAzD6tbcg83W2vnYUb3DnaRQLKOlM1r14fl+cur3rlRSqxXTXyj+45cWA3Mcy ztYkxzX2JBhvjpJlzsAfZNQYz4Q8jNgRWysP7tDQLnzuHp2N1Ao+KJxD4Yi/H2QQDmYZ I86guFgK9cNO4Ni09Xr0G/FCPEE88oK8Ye+wLtU0hyNydRu87oLo1uXIVn/nXYZxUxiM UsYJngTJfigEiSrRHaiZoGbZFr5n0M8M7H3lAVBytHzVrQErZKlAjzO907VlukdTdZHC A76Q== X-Gm-Message-State: AOJu0YwXhk/bVbmgzhjDqJVX0H9PReYQgT4Eh5ybiQyUNZRDhlL26f+U GazhzOBXhVs0VZ2Mkus5NmT3E/8ZekzZ53YGrNGPOzJW X-Google-Smtp-Source: AGHT+IEueriaLUudfwJFoYXlntoJ1LShDkni95h5ygy0FQNzalFslmHp6h58EdCkIflUkPqRqrPWuQ== X-Received: by 2002:a05:6808:30aa:b0:3b9:f1ea:5996 with SMTP id bl42-20020a05680830aa00b003b9f1ea5996mr1486357oib.55.1702095379644; Fri, 08 Dec 2023 20:16:19 -0800 (PST) From: Hyman Huang To: devel@lists.libvirt.org Subject: [PATCH v2 1/4] Add VIR_MIGRATE_DIRTY_LIMIT flag Date: Sat, 9 Dec 2023 12:16:08 +0800 Message-Id: X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Message-ID-Hash: H2HUOJIPCGREKGH77PENHGYU6XWGCE4M X-Message-ID-Hash: H2HUOJIPCGREKGH77PENHGYU6XWGCE4M X-MailFrom: yong.huang@smartx.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 CC: yong.huang@smartx.com X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1702095542847100001 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..44af09823c 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: 10.0.0 + */ + VIR_MIGRATE_DIRTY_LIMIT =3D (1 << 21), } virDomainMigrateFlags; =20 =20 --=20 2.39.1 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org