Message ID | 20241219083228.363430-2-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp1366327wrq; Thu, 19 Dec 2024 00:35:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVkrTepdyn+fp8x7GIXx1g+8iVMn1aa3VAuegcyjU1y9E/DbnGEWvxaOuMpwAAEEGE5OWGZnA==@linaro.org X-Google-Smtp-Source: AGHT+IE7Tlop3LALQud94excUfalzsDHbJO+e7bBTL+HkIvVFQfBJmsBwmmeSjKEQn/R2pQBBPOQ X-Received: by 2002:a05:620a:460f:b0:7b6:f024:3ca with SMTP id af79cd13be357-7b8638b87f4mr1087007985a.58.1734597324099; Thu, 19 Dec 2024 00:35:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734597324; cv=none; d=google.com; s=arc-20240605; b=RBRVkLV4a6+9fxrmO8PGp9xDK+5S5fcUO1pi2tznybwWHdDb6VIWPdxUi7P/9sqwvR Cc9AwKHW6oFlEkGCsf5BQXd6fStyIVhprXDQCq6Vm55DBE7cSmWtE2HYG1brgiDKwAHN GI886DmoM7FYcmaLzSht1XoipTYBnBPR/gm/qxNbrids9JP/uOlrmt0MnQS5HZOlcmqk 37QutFhkfXbpaCfjZF/bwPmSMAxP2WjtpAdnLhN049LJlXS3RMaFvchw+UFhwQoTUkCF y1HFI2xTSUAxiHo7uVSuPD7H+6H7LyrYr6oU25zwQsxglD32RNufXv6db7pD/YQSZC4C Sk6g== 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:cc:to :from:dkim-signature; bh=sjB2VJ8djP/uFaRO5FuiFnPqLl7LJ/cFgV1DnxC9eUY=; fh=mN+7zamMqtxpbv5qGNGIO/QHsXnjUAqHW/yN5gisKlY=; b=SAt+9yCyRgvSbqEVO4PoBBsxtoOvYn621cZkDL5t7IwEaH0leLPHW35HSZKx32O5Mj ANfAnu5cp+GJbbWYGLXTMM29XhZYGLNtJs3uv7n5IJQ+PAFq/twoId9gb/zNQWLhYDiZ uxtrXX7eQ2bz+bozs1aWVk8dsm8WzZmMwqKxBJxaNkRHjwxnIXucuNasdHcy+WgUWJgb gwNqlEWH4t8+D3HipESD3gYHfPeVCXyfwsa6F3Q6nxTWUGbTj4nfPXr/grpZe3Z5q/UJ 5hIMpjAzu0U86W/OTQ4Fv9J1K2LASIKzbcz/ODlVEtKRcA2EiRfVqYxmu+0t9LayQyYN AvvA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nvw2UHmj; 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=redhat.com 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 af79cd13be357-7b9ac2cbfd8si113592285a.158.2024.12.19.00.35.23 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2024 00:35:24 -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=@redhat.com header.s=mimecast20190719 header.b=Nvw2UHmj; 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=redhat.com 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 1tOBxa-0004RO-Ra; Thu, 19 Dec 2024 03:32:42 -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 <pbonzini@redhat.com>) id 1tOBxW-0004Qi-8v for qemu-devel@nongnu.org; Thu, 19 Dec 2024 03:32:38 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>) id 1tOBxU-00053M-HG for qemu-devel@nongnu.org; Thu, 19 Dec 2024 03:32:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734597155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sjB2VJ8djP/uFaRO5FuiFnPqLl7LJ/cFgV1DnxC9eUY=; b=Nvw2UHmj5UHtR/Xh9h6+m2PqivEl7xqqGkqnPTHWyquwWMaFCwYlIMSc5u/TqXvCe6itgF n5K05N0wQdS2fA23P5nQU1nueuJIx0F+Qsiq8U1X2pQztA7OvwmyBikS52NOi4r6o0JnZr Wrw3fKGvOzY9GML8xQ6uVgj/vkDTY1g= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-661-e8rJJAk8MI-2bHMw6O634w-1; Thu, 19 Dec 2024 03:32:33 -0500 X-MC-Unique: e8rJJAk8MI-2bHMw6O634w-1 X-Mimecast-MFC-AGG-ID: e8rJJAk8MI-2bHMw6O634w Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4361c040ba8so3020875e9.1 for <qemu-devel@nongnu.org>; Thu, 19 Dec 2024 00:32:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734597151; x=1735201951; 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=sjB2VJ8djP/uFaRO5FuiFnPqLl7LJ/cFgV1DnxC9eUY=; b=VqiquPmTogf9kU9Xigt9UfCVIZNoetp5Na6bOnEHizqpKIdTBYRzpUPP3hrjHJO4qK A/8c4WO9JtHqor+k13qu3nQqSXkw+lfGlb4kiSXq8a9AbVVUkvrdSaW/r+oRI+zPPi56 hKGo7jVB4hT0DkeXYB0clLaOOFnUB13zdxkM3U/XE0zz7u6SJGmxix+6YctU/5fhfw2Q pWh3AKpQCXb6VYosH7D52DIHn0XAPLlT3bpM42vXvtwCryhEFLcQB4iWTEB4i2nPpQR1 nFDBgKVxSrGBahi5toeYhONSski/c2ec3bZqHTgelZWUjoGhnOwRoSZJVF06Kxt1wAvE geNw== X-Gm-Message-State: AOJu0YyNAAt2t+ZyJ2aSnzg6MJrHtviITSVXsdbnnKnDdtPDu+Di1HJk c28SMNhIdCGx6m7kDZ3/2C+veh80ciX6XGcnudQdj30J8c+cTKz1q64DJD3B0biNU895Xyr+jjT do6EALFKHcRXBRLwGFmH3/T+D7+RO2CTyeSfGnRxXjrWaAeKcW0D7L8vDn5VzCgLeBo8B/2fS+J /MZxyvOy6XiCoVM9B3+7dF1Qp6B1HltN/fFIkU X-Gm-Gg: ASbGncuJ0fz56IghTstfEHEkNuDHxL1AuUeHdSb/OzkGThjsOJdnb1bwMb/R7ESPh39 xj5PbAofgDyQCRyQNmrKXsndmnfK9zwmAhD1ehDndUlZUq2VlkloV0pkqPcOIIjuYHDNy6FyR5r 5ESq5+F1HF0mlXze14RKz2qrkqsOqYFvfjWnk02LV+JMXOwO4SGLTE7dnLKBmiOypE1vUllyHEv 8/crbUD8LrACpu0s3FDC6atBy7GdTsEcxi/A+gMINvkvce0mbJJWNyMRSmd X-Received: by 2002:a5d:6c65:0:b0:385:fb2c:6021 with SMTP id ffacd0b85a97d-38a19b37343mr2227542f8f.39.1734597151605; Thu, 19 Dec 2024 00:32:31 -0800 (PST) X-Received: by 2002:a5d:6c65:0:b0:385:fb2c:6021 with SMTP id ffacd0b85a97d-38a19b37343mr2227513f8f.39.1734597151192; Thu, 19 Dec 2024 00:32:31 -0800 (PST) Received: from [192.168.10.47] ([151.81.118.45]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4365c08afcbsm21964005e9.21.2024.12.19.00.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 00:32:30 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Cc: Richard Henderson <richard.henderson@linaro.org> Subject: [PULL 01/41] migration: Constify migration_properties Date: Thu, 19 Dec 2024 09:31:48 +0100 Message-ID: <20241219083228.363430-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241219083228.363430-1-pbonzini@redhat.com> References: <20241219083228.363430-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.116, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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 |
[PULL,01/41] migration: Constify migration_properties
|
expand
|
diff --git a/migration/options.h b/migration/options.h index 79084eed0dd..a360f93a44f 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 ad8d6989a80..24cc8471aa0 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,