From nobody Mon Feb 9 03:48:25 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 1699758484113692.6034415007911; Sat, 11 Nov 2023 19:08:04 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 080B11AC3; Sat, 11 Nov 2023 22:08:03 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 7BA221AFB; Sat, 11 Nov 2023 22:05:38 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id A5C1E1A56; Sat, 11 Nov 2023 22:05:24 -0500 (EST) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 8F5AC1966 for ; Sat, 11 Nov 2023 22:05:23 -0500 (EST) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6ce2c5b2154so2031473a34.3 for ; Sat, 11 Nov 2023 19:05:23 -0800 (PST) Received: from localhost.localdomain ([125.69.8.82]) by smtp.gmail.com with ESMTPSA id w12-20020a17090a4f4c00b0026801e06ac1sm1830938pjl.30.2023.11.11.19.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 19:05:21 -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_H3, RCVD_IN_MSPIKE_WL,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=1699758322; x=1700363122; 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=b1ZK87CeSM4dgZYrPUH0roQzc0StWajLN4pwG6H6NhQ=; b=wbV4xrdh8Ztvm3t/cSUlgIZ/yhBy/iDnfP6u8K2LXsWJV+/zjoGDGEWZg9lozPeKcK H0Bz3oNg+ofDF3SfqgrvTCaQsSa+oj+A/08J4jktoQYdAQ+vK5z0pE5maxiSppnm2Ghr kCFYgPuB6x8EoSgpWvEcf1VLbgu8L6qWRFCHMIQ+o3TFmfe2QaUGXGiX9WlTyCv4uKz/ RZRKZ8hhuSylPyiJP+iSZrN8T3QNTRFF/dCBRTfLlkEOikQEBMGtPt3OQzQGZDLMPAJp Hqo+c1Co3Pe3RaC/VuSNE8GNvAyiCgNtFYqQ/S9fZ8uiygElX0SS5/GiHqvzw63hpa15 UHUQ== X-Gm-Message-State: AOJu0YxK7bKwqJ3qmejEmTVOgT0mmLVwHNshzzHtjBbYxyZIQycC/n/B SIUS4F6Bn1l2zu0TK6ior4HnG5TNCKWty7PfCpo= X-Google-Smtp-Source: AGHT+IFHuMbfKeiASktpyO4/M9jVpf7+7pAeVQyUUw9Mj6P7BKUIzfnjWrcJXPIzLH36Ud9Fqgeqpw== X-Received: by 2002:a05:6870:2382:b0:1eb:e8b:7206 with SMTP id e2-20020a056870238200b001eb0e8b7206mr5398919oap.14.1699758321786; Sat, 11 Nov 2023 19:05:21 -0800 (PST) From: Hyman Huang To: devel@lists.libvirt.org Subject: [v2 1/4] Add VIR_MIGRATE_DIRTY_LIMIT flag Date: Sun, 12 Nov 2023 11:05:09 +0800 Message-Id: <53f148cc0d51a4658d8d6d2de3c2b3944d880d3f.1699756433.git.yong.huang@smartx.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Message-ID-Hash: JASW4VLQWHEDFJK655D2GUT7EJQVUDWG X-Message-ID-Hash: JASW4VLQWHEDFJK655D2GUT7EJQVUDWG 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: Hyman Huang 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: 1699758485843100001 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.39.1 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org