Message ID | 20241216035109.3486070-2-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp2657509wry; Sun, 15 Dec 2024 19:53:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWPUBEUwMNkb6Yn3WAvW1Ee75z7/4z+DFJigv9jI9CXOrvcqyd/M5Zv4D24ggUsBx6ebN0urQ==@linaro.org X-Google-Smtp-Source: AGHT+IGIxk0THTwgh1/xmHquZK3znLY2UYNAyhRDFobH7dfcez7k81t2Q5LuIVhqjkkgMnRv+Cge X-Received: by 2002:a05:622a:1b8e:b0:467:525b:e53e with SMTP id d75a77b69052e-467a577dfe9mr195257261cf.15.1734321217617; Sun, 15 Dec 2024 19:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734321217; cv=none; d=google.com; s=arc-20240605; b=lgw6uJKnok7ZnsBJ/4H+Elyy/4JiivU6m4xrO78zgpEQGhf9EZfGrJleb2qKAEaYxu 3q6okFPFCIslPe9+ITJRoz882rJ5ZbNyBRUmjXT5C4LBD2C/mxDchJehPe1WlC/JcKPn GkXwh0vawYiHgQvKTrsJ3ANNnR7olE05dDXrWOSAd/99logLKlJSrJlQZ4dSVq8Ezfqr 4ayuV5dtRhlCOOj8fIgaLdsAp6wsQhEmKith60hhcI2xqkHzHf9xGYVLFnofiQXIDigO aX26BIw6YtlErkEsdXXy571JAXeN/hgHSPqoHyiZ4TfVpWqpqu4g0vc4pHRv0izv3H/I MVtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=wosSj0kWkq5cs0VFJpmmiyQOLWqM761SJCj5OeJxoag=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=QyPyUOsNsAd1cVYFVuq7z9kdG/EPHmrfga4A+074A2/ojRWxv6NXQr1h2Et5r05EPy jUDPpiN6fTt1IyfA5JcSuVAH3O5pK4Uw3s5AHkI5Ap/+mQ9O1HIYLkFN50ynNfE3i+de /xHYg8LwP48JzUcIt8k7bF+IR/9kCu4DV0p6+Lq0uPAIA1zHLa4rzBGgEeBS2eKxxXk/ ZFUIy4OXxK+dPMLZYEvQJGsJV5kFl7W47yZd2pd51+UErD05iZg6wlRah2r4dBbybgf7 Qzf1q8+zSlmeBSelT3lEZrPbqXuUE53J5Tr8Yt4m2XJtksxDUvT+fOP3pmw3l8mebgGg fB8g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="PUPch/81"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-467b2c98c2asi67265151cf.19.2024.12.15.19.53.37 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Dec 2024 19:53:37 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="PUPch/81"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tN28p-0007Ey-Eg; Sun, 15 Dec 2024 22:51:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tN28l-0007ET-TU for qemu-devel@nongnu.org; Sun, 15 Dec 2024 22:51:27 -0500 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tN28j-0005xG-Qg for qemu-devel@nongnu.org; Sun, 15 Dec 2024 22:51:27 -0500 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-71e17de2816so1922183a34.0 for <qemu-devel@nongnu.org>; Sun, 15 Dec 2024 19:51:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734321084; x=1734925884; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=wosSj0kWkq5cs0VFJpmmiyQOLWqM761SJCj5OeJxoag=; b=PUPch/81oFocagTOpphXXxWyaea56OnqPpQkOfq4EFXtS4UfQAEzErbom6wYVv6xRF nGswTss3SPNvcLY+JNoDE6z8BmD48sn5B5uASygrYqVj2D3DVUbVKBRGivaJ1JhyWxCa S2p7LeBi764sENrw6VMF6lmVvYpzdNch6PQUlwITbEpQA9YKI22QlnV/DRUAVCicoZWt s2CmQFPxHsEo5elxALU0ONxuEITpBNNjbr6cpuCpDrIu5yQslqrKqlOabgF2O/d7oN44 Is6coveyhb37inJG2qyGVTpEvAnnytbUFhodCg1Clj7EcQsfs7jVmAUqdE376D+CXjbO sJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734321084; x=1734925884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wosSj0kWkq5cs0VFJpmmiyQOLWqM761SJCj5OeJxoag=; b=QwSfVhEKputhWlLubvqVSP0xVOI03OHzuUOmjRhIFQFH/hSMg4caT8KcLJqY8w7T/n idv7Ky0jtW5a4r5UBI5QRrdcJQzRGGTH31Uf4ETmmsr4C2TPOTb+1K93CDmoSQGCcVvN W1rphRTjNv34OFRbOKZHyKPaGvTOPi2/1VAO2qfY9Fe+cKW8/v69Qfu4MWNnjwvWUrQd gVMJghohOnn+lkWc8FqHCaO25r7xlMtTbP3z6D60Uz4G5v96zFfrcn6ufl1oz7eP/T/8 6FnaeTJMFqKuxInA5SSP9sNAV7xZrjQXblEs/BrSX2pjlETcplhdQny3l1kTO5HaNLxj o8XA== X-Gm-Message-State: AOJu0YxPqhegugWo8b/NXXJSeSSj4m/R0oBho4f56TbTPt8S6wWh5YQ4 1c1QxHfgQNA0dXyCG77oQaMm0irQS0iuoxggw6KQWd1o9NT1v3/iMvbprF6r+2FlO49L/iJGoLE FvcUAQ/hs X-Gm-Gg: ASbGncu3FejGXjzhywYPumPYZW+luTAVcQ8LYqxTlFcMKFHlXNBv3KuOEMouznq9O7h WEFgdpE+x3eG64jYvHlVoq5n4kmPspKh2Ls8faN/bmjbEFOYe4SRuxDBNR0nyTnqlofcXh0CGA/ h0eZkXixgLwLffe47qzD6sxbMuiuyBS71EN5TuOw7cDgsfVa9eCSNoAfI1xXMKxPL6fjuklCOUM TU8Ubwz1KI9MS8l0Up5X17zRRDRT83Qc9godLcVy4apE0GIkbKtFXjzfn3ueQi8dmGfJTT4BHyQ fuNa/TUmfsKRhDCrMPoDtIMa6qferhWHZ5dUqLc1IPs= X-Received: by 2002:a05:6830:6995:b0:717:fdb4:c207 with SMTP id 46e09a7af769-71e3ba62e68mr7044607a34.26.1734321083930; Sun, 15 Dec 2024 19:51:23 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-143.totalplay.net. [187.189.51.143]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5f33a93a6d1sm1287493eaf.33.2024.12.15.19.51.22 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 19:51:23 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 01/24] migration: Constify migration_properties Date: Sun, 15 Dec 2024 21:50:46 -0600 Message-ID: <20241216035109.3486070-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241216035109.3486070-1-richard.henderson@linaro.org> References: <20241216035109.3486070-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
More Property cleanups
|
expand
|
diff --git a/migration/options.h b/migration/options.h index 79084eed0d..a360f93a44 100644 --- a/migration/options.h +++ b/migration/options.h @@ -20,7 +20,7 @@ /* migration properties */ -extern Property migration_properties[]; +extern const Property migration_properties[]; /* capabilities */ diff --git a/migration/options.c b/migration/options.c index ad8d6989a8..24cc8471aa 100644 --- a/migration/options.c +++ b/migration/options.c @@ -85,7 +85,7 @@ #define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT_PERIOD 1000 /* milliseconds */ #define DEFAULT_MIGRATE_VCPU_DIRTY_LIMIT 1 /* MB/s */ -Property migration_properties[] = { +const Property migration_properties[] = { DEFINE_PROP_BOOL("store-global-state", MigrationState, store_global_state, true), DEFINE_PROP_BOOL("send-configuration", MigrationState,
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- migration/options.h | 2 +- migration/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)