From nobody Sat Nov 23 17:49:24 2024 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=1723160473; cv=none; d=zohomail.com; s=zohoarc; b=mLIEEoQT9R0IPmVZGE3I5IvJt9GR9U28JaAZF5Ypsla80BQKVYFGj/3Udps0Y2A42NLZvwuiNzCDy9dh15oiSi5FBBwnaTfpcEWVhT1er14ItYNqZk/vm4i15SaFQ13hPHKxeTab2prI3DyeOtTi6S5cepP3b/hBOJL28RaiYa8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1723160473; h=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=//EWhHnhiu2dTgOSjCTUNAp0UtFx3XJwEGgOTC0E/40=; b=d4hujjQPzQmjYe4uwCPhI0SVPSjeAYXalgD7+maSOePX59R0n9SonD+vnBoFxrvuZntgiortwMFZNTLlpCnwMN4HmErmo/TVFRBTzHBjVlCRGjAnWpVuE0pXOtZM4fwJKdsWmRA4+4YEm/PFD70ZuG/PprUSKl7aBLQTpCGIVos= 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 1723160473839921.4216326030286; Thu, 8 Aug 2024 16:41:13 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id C97A71446; Thu, 8 Aug 2024 19:41:12 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id ADA8714DB; Thu, 8 Aug 2024 19:38:54 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 0248F1401; Thu, 8 Aug 2024 19:38:48 -0400 (EDT) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 B98A414AD for ; Thu, 8 Aug 2024 19:38:27 -0400 (EDT) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3683178b226so586799f8f.1 for ; Thu, 08 Aug 2024 16:38:27 -0700 (PDT) Received: from localhost ([69.51.98.127]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4c8d69a7e57sm3743713173.56.2024.08.08.16.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 16:38:26 -0700 (PDT) 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,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=1723160306; x=1723765106; 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=PhCatc/TDLzX8fsygU4C9Udf81N0taVv7IQJ7D4vnp8=; b=M7VkAD0u3CARvDKesgHByEhjLZomty/ZFbOR8p4fuIX9sa4WQw1TQ7teDewYY9zica vbZR8hkhpOxkpYb74ekliMTdqxDf2fYdzwgU+z0GILvrLDOpwvAyg85brvx6vAM8rxZN gvpKxCiS/z/P3eZ3Q30ZVOTHGJEsYyx0jxfqlRHjetTT1tch8vAEAIvnFqMOeqW13faN Z6kB93UsOLQlHi0102NJ3I7uyn2BazQpha1pkxatZzk6E8IWLD5Ca13AIlFrV3Q9XMGA U9d29QVMW/7JuYZm7Np1TeSlYpTsM6bzupWUcxucEhQgtAWxfcVGbo4Ff8Q+9NQK/joM ujHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723160306; x=1723765106; 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=PhCatc/TDLzX8fsygU4C9Udf81N0taVv7IQJ7D4vnp8=; b=RiV/ngfwapIJNkKb+q7gs8CFjAwCKV5vbS6NQ1oxpPspwhSIIkwiAaiXoBFUXRhvnR B0RlbctmVYUJuo+qygc1fgMLaWJoRurs7PDpZeyQTKNpdstasHO9svoaLeqA/1hQD8k1 +Vx5NZ4zoy8rJExn9Cm6OjyMt/0DkieqPYdhTS4G1TNpaFV4aGucUixd73wDo2DhvaUC tCbWX/Xxyce/7BZ7gojIw4xJdn+CcCmIQMs9033A78rHi2JkgJzwNV2pJuiXm35e9J4R S5LdLBYgt2cqnq9MSqQANMw+Ebaf+dImRKpfhPUwyBCAYcVmvJAqj0jXOrXWFD1I5VRX ltkQ== X-Gm-Message-State: AOJu0Yx2U80Y3PFo5H0gHBsMG2zWN8EaGp9a2xq6jMJVkwmUbdc8rssv J017Xu/lWOIaNswYrjSdqCvQ5MPZY10urOJFlvPFnEv1gZLROqeBBq29I7c9f5aUjCfsPn0XYod k X-Google-Smtp-Source: AGHT+IEOariuKuuzlO21puoQi77xFuw2KNk+9EQSTDCmQDYT8PMqWqcjl6hsyDRZgFTl5dpYmnUZ4A== X-Received: by 2002:a5d:588c:0:b0:367:9881:7d5e with SMTP id ffacd0b85a97d-36d273c92c0mr3129835f8f.8.1723160306394; Thu, 08 Aug 2024 16:38:26 -0700 (PDT) To: devel@lists.libvirt.org Subject: [PATCH 05/20] qemu: Add mapped-ram migration capability Date: Thu, 8 Aug 2024 17:37:58 -0600 Message-Id: <20240808233813.22905-6-jfehlig@suse.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240808233813.22905-1-jfehlig@suse.com> References: <20240808233813.22905-1-jfehlig@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: ZPQW3EPR76RWVWUMFBO6TAQIKCL67WZ3 X-Message-ID-Hash: ZPQW3EPR76RWVWUMFBO6TAQIKCL67WZ3 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: 1723160474811116600 Content-Type: text/plain; charset="utf-8" Add the mapped-ram migration capability introduced in QEMU 9.0. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 --- 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 daa52269f4..03937df2d3 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 64b2dde59b..91a1965a74 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.35.3