From nobody Fri Dec 19 20:16:32 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1738953608; cv=none; d=zohomail.com; s=zohoarc; b=UN5zhLUMzblk2LpvlYHmNzOZRCEKy9vKAcmN8Gj24BjFRFnUILIdqI6c+/ikISaDvCG1jZRY+euD5gbHm0M/6kg/LQanv5MGM6jSOfVeCdduXGBfgawtnzJE2mF8ja2AWDDx6j3GyFRNCRvpjdzfkxU84N+0dy3JaHAmTc2FYNY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1738953608; 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:References:Subject:Subject:To:To:Message-Id; bh=osddx4XsZNZZAY8W8U6bK8T6RQGZDNR9UyybX35ipUk=; b=OVy9Or2+IYfGAN6HP9DO83nsdqqxLwza4ZCGN508lJySmDAQPfisAQo/RIf5WaomojH6Oivh448OmppSA0LG+Pb2bBq0aXwfkblPNZLG/YlJDTLKfvEmxDWF7Mfsdbulq0kjKUV99XZP02avfRAOxGHBXbHy31cfnQZGq1Q+3tg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1738953608448157.74197966613258; Fri, 7 Feb 2025 10:40:08 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 79E841397; Fri, 7 Feb 2025 13:40:07 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 8A64B16F1; Fri, 7 Feb 2025 13:38:04 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 6D5C51581; Fri, 7 Feb 2025 13:37:58 -0500 (EST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 2DB8314F9 for ; Fri, 7 Feb 2025 13:37:45 -0500 (EST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4361f796586so29098445e9.3 for ; Fri, 07 Feb 2025 10:37:45 -0800 (PST) Received: from localhost (205-201-32-8.scinternet.net. [205.201.32.8]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-21f3687cabcsm34267865ad.200.2025.02.07.10.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2025 10:37:43 -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=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1738953464; x=1739558264; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jjphJ6QLmhC94epX3i+EnkGIEFXSHw1r/Po6kthdPd0=; b=fKWPuPqIzTMT201tAo+9Ca5gGhFQ4s2xn3PpTiilAxbYtorHQI1xKbK/0IgmoR/rc0 xncX6VYIGnBK+wDLapQk2zX1XpIMrqRK0a0wYO0VJGF6eHTsRrQKvbNTAo3ZeOyq6un6 2SeAZDDPNVQgJxNnWnWN+yWQ2/tiU8d0OSh/xRVboObZI/UwMXcEhutuMroetmRQevo+ HJkFENy+dLWDMarIWzEk4+CnSGIs7F6/pvjujGRcW8F1sRfbOuDZBj1Eof9wfZp8XSJ5 TBZJB8tOgo8H83yv/yuVx/zYtB7mUUnu38Ugr5HLrg+i8jTprobh93iwGJ0wHDRQ7kQB 28bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738953464; x=1739558264; 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=jjphJ6QLmhC94epX3i+EnkGIEFXSHw1r/Po6kthdPd0=; b=iK5QiasMYjuCJo3ghKjBpOqHULKcpmoy/Br2lINOEjNmR33pHdWpLnwtQYgGHIhAfE HZbTz/MbfBkCOGqmftdGA6dvHAx3cp6SD/B+Puo6wP0+qBiijdCrIfhdTouD8D3iBn31 Q36NJ7FNgVwF40ey4uSMUbyQrO1J/n9l4B2LlzIxrcU4Ixe4AjIug9tP3I/GV7DVpYla OqBKqZkBlmiZ9GZaqajbeEA9vY6Q5EvnyyHAC9BogGpJSqFG6djKucSE1v2Cdf0hClSy tJFKeXXOcCvvUDDitdBX0eXSiBdG0sdCBn2+BiLnGNUgJoK6c7pAOMh49UnNjkecfo9p XGEQ== X-Gm-Message-State: AOJu0Yx7DR0oOUpO2k+XYA5QBH1OdlbpS6VeNyI3kQA5SGF2hfZq+Y0M FqBJ98p4DuN7uo4buRagNUF/3X88YY3B+fm4dhwHvcAyqoNVqoL1qEFV5DhjFwjpwmoSUw75LbK s X-Gm-Gg: ASbGnctcDZz9eiJQ79Lz+XlNkC4UdtdVVhM0qDfw2AbeC/WUKoapuZskMG+1T/Wvx/l 78R4wrwm825lfYUl6J5v/rh7/xeTw+i/OIQkXXbGfK81f3OTHtH/mpFbDRrmPgikVwXShlWwc1D 6y4kCfw3omPcjCVs9Y4dWEAVTQc3feFj65S1ClBQAEdebuyc52R7U8NlMUcEGOhs7GbeWKwdM2x noSnc2TbJ+uRTyXn9kLg+35Im57DSAWr3EPPQ6sJkJU6z/wgdb9rLPt9b5gXbTwtO9nuf7846x2 MhIricrcn/92pc8kGZGYWG5qk7NozNV8Iw== X-Google-Smtp-Source: AGHT+IFipPHCzNeNP0Ul91M58rbfVMEdq15EaoyH0BETiLN9hN4DgSaKj1RBs4AY7sRZIjqn/JE8HQ== X-Received: by 2002:a05:6000:1acf:b0:38a:9c1b:df5b with SMTP id ffacd0b85a97d-38dc90f1ea8mr3732237f8f.30.1738953464043; Fri, 07 Feb 2025 10:37:44 -0800 (PST) To: devel@lists.libvirt.org Subject: [PATCH V3 05/19] qemu: Add mapped-ram migration capability Date: Fri, 7 Feb 2025 11:27:16 -0700 Message-ID: <20250207183730.21686-6-jfehlig@suse.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250207183730.21686-1-jfehlig@suse.com> References: <20250207183730.21686-1-jfehlig@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 2IK2E5TQGKZ2Q7PCRXL32EGLMNEMEZM7 X-Message-ID-Hash: 2IK2E5TQGKZ2Q7PCRXL32EGLMNEMEZM7 X-MailFrom: jfehlig@suse.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: farosas@suse.de 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: From: Jim Fehlig via Devel Reply-To: Jim Fehlig X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1738953610848019100 Content-Type: text/plain; charset="utf-8" Add the mapped-ram migration capability introduced in QEMU 9.0. Reviewed-by: Daniel P. Berrang=C3=A9 Signed-off-by: Jim Fehlig --- src/qemu/qemu_migration_params.c | 1 + src/qemu/qemu_migration_params.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/qemu/qemu_migration_params.c b/src/qemu/qemu_migration_par= ams.c index 939d9f01e4..4fc9199f1c 100644 --- a/src/qemu/qemu_migration_params.c +++ b/src/qemu/qemu_migration_params.c @@ -106,6 +106,7 @@ VIR_ENUM_IMPL(qemuMigrationCapability, "zero-copy-send", "postcopy-preempt", "switchover-ack", + "mapped-ram", ); =20 =20 diff --git a/src/qemu/qemu_migration_params.h b/src/qemu/qemu_migration_par= ams.h index fb2cfd9fad..2379950ce9 100644 --- a/src/qemu/qemu_migration_params.h +++ b/src/qemu/qemu_migration_params.h @@ -42,6 +42,7 @@ typedef enum { QEMU_MIGRATION_CAP_ZERO_COPY_SEND, QEMU_MIGRATION_CAP_POSTCOPY_PREEMPT, QEMU_MIGRATION_CAP_SWITCHOVER_ACK, + QEMU_MIGRATION_CAP_MAPPED_RAM, =20 QEMU_MIGRATION_CAP_LAST } qemuMigrationCapability; --=20 2.43.0