Message ID | 20241219083228.363430-22-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 g8csp1367298wrq; Thu, 19 Dec 2024 00:38:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXGBewumaSycLjxY4fZMs39n4JxW0BXRkBSIdYoTQz7nSsuKCDP4Y/qJwEShCISQIZoHxrbHA==@linaro.org X-Google-Smtp-Source: AGHT+IFuvTjjWULgyarTHZ4sgJLCKgYRgI7LFLexNx+xcOCZSMSwFN5YnH+8KZPScOyN4mxF41LK X-Received: by 2002:a05:620a:3916:b0:7b6:da2d:73e5 with SMTP id af79cd13be357-7b863755275mr860394485a.27.1734597497102; Thu, 19 Dec 2024 00:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734597497; cv=none; d=google.com; s=arc-20240605; b=FcaAFoNloLqNogql9Ro4YdhGb2hmfi2eJM3ogD9N2vCisj9cgiey1LCiRwqcbe0ebg 7DvGF7ao2TSJVtIKiS9t9+Nw8lpLNb6fXNIC/eL7jv4rOwBiO5jgQBfeoUTblqDV222o 58QIWeURoGgqS7JR0rAKZv7DzkIHXkcOkKlkL5B0lstH2fFHJvBGxXITXr+93LERnYtn MKFKdZVXDjXsa4EcPKzy2k5MJ3BIFO1ZovRAIBQGnYQIxsFkdjRCLDENfv+084o253FI 3A9oi8BxaMeoViBiCckyArvmIP6q96budnaIZl2iYO4HBnzljVy7X5+ALmBD6FPldhOc LFlA== 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=YGo68GKQt2yaNvuhV+blTkjMLtUKgFZE8YyZBqUmje8=; fh=mN+7zamMqtxpbv5qGNGIO/QHsXnjUAqHW/yN5gisKlY=; b=huItwTNPdxXH3x9tKDcCt6uEdanK/McHFeUDdlzXeU1fA8KGovRtLEfjNmmNmvWffZ PwaLu/YnpWh3BmWh2PMXeE0M2O+yi5xrpWTQjB7C4EbPtj1NZ9Z5C3qXeKfw4OTfBz7P R38TmqU1tOvK8G1ff6UcuvBBKrI51AhvdyL0USu0RMb2HCCSzGQYxZRfy2YHE4TeO4P7 LCXHcnfrlaIhKOb3tV/AZ2KRhW/d/6QbJ6DNXrPidkjSbAjwlyLhqc9Z8L29XVemIQrK u9tfwKNvTf3Fypu0TSgeP9Ol1lwhKxNEQxFL5UlwSP3vpX/0C6JvG3+zOwYYyYqNEwN5 hgKg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fuxeoYQG; 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-7b9ac478b10si113233285a.246.2024.12.19.00.38.16 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2024 00:38:17 -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=fuxeoYQG; 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 1tOByE-0004p5-IQ; Thu, 19 Dec 2024 03:33:22 -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 1tOByD-0004lk-Ei for qemu-devel@nongnu.org; Thu, 19 Dec 2024 03:33:21 -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 1tOByB-0005B4-Ub for qemu-devel@nongnu.org; Thu, 19 Dec 2024 03:33:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734597199; 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=YGo68GKQt2yaNvuhV+blTkjMLtUKgFZE8YyZBqUmje8=; b=fuxeoYQGo1ddxNSCGfI1JYMfGua9hHS1zTTHJ9ZP7Ax2uPkMbvCDL9npf0F+R+Lro0petg 3/MVwHohAMitFTC7izQDMeeEvK5DDWdSkSJ3r8yqzXZjI84Kf00gAylD3u0yR+qQh0NP73 Sw7vsUlU9bIaf5mAf8b8BsG+rxDKb9g= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-453--XHByr-7M7OP7N9HlQ6hgQ-1; Thu, 19 Dec 2024 03:33:17 -0500 X-MC-Unique: -XHByr-7M7OP7N9HlQ6hgQ-1 X-Mimecast-MFC-AGG-ID: -XHByr-7M7OP7N9HlQ6hgQ Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-385e00ebb16so221742f8f.3 for <qemu-devel@nongnu.org>; Thu, 19 Dec 2024 00:33:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734597194; x=1735201994; 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=YGo68GKQt2yaNvuhV+blTkjMLtUKgFZE8YyZBqUmje8=; b=rvGT0iyg4ukiS4qk+XCLl8b3u9i45x3vyY/9EWH8ae8kZQzEkpZneRiWQ3zKgYlXEw PStu+5HR5qStC9Vuxbay/azXjBdsjRWiXc/t5JuG/02tqHar06Cda0XkMz0/4gtia5c+ gDdMCB8GRCa+6bwj4eGkgnunUYbHMAjKAPpfDZYlEw5AIZ6Kj874P1TYwWFPB7/cSviD rnpfUgAwblkHbTAvymExR9QcAou5TW82ojFv0sToiA6rXrDFbt0GbmjNYXpLxlTxxb3/ QBPe4iFDb8Y+bSCbfJL9VPoqr2bksnE8Ga2tiymCAmqRFtQZWmQnAlViBIzZmtIEeQZ/ NR4g== X-Gm-Message-State: AOJu0YwmbVqJ2ckz8N5B8c+xkO0olriVFcMVTQolZPPleAr9g1gT3P5g H0n3IA8bVJxJtWLm8PzkbbwWB1u54jRibnITP2Iz0eC54/g42yaxUAZ3h9lrJDMrT6idR6oljKr NfVOO1yT6Cu9BS+9q5lcwiyJIPRPRp4dj6wRXQVa8n9JL3n85Kihv2knHK8s6/IXAx8k/Kdez17 RpBAEddGTcePWErTBs1wKiEk/f9KhtLl0qKSTo X-Gm-Gg: ASbGncvWOs7xtPyD5gVTPoNsVVKlfJLd8y8971leQ8iTIbVdPelNsjOKez/PU5V/loS im5UkSi0Xj2DziFZZXhyEjxt740CTlfWZ3lQOzqs/Tuhsof/Bd93bRqk1qm/0G0V+jXt11x5E/k 9mAqQyrZBEzmMMVd5C5SbBROFZrDANqgqjgp3Sq9zMWxm4MJUL5LSOUj2Ra/Ca7JXgYmwhBqgny T6XYHvurrLFcukBV1EB7Cgu5r5GMdOobdxbTYkhdPK38VhDlM5EOm3DEdaA X-Received: by 2002:a05:6000:1449:b0:385:f3fb:46aa with SMTP id ffacd0b85a97d-38a19b373d5mr2230036f8f.43.1734597193173; Thu, 19 Dec 2024 00:33:13 -0800 (PST) X-Received: by 2002:a05:6000:1449:b0:385:f3fb:46aa with SMTP id ffacd0b85a97d-38a19b373d5mr2229996f8f.43.1734597192734; Thu, 19 Dec 2024 00:33:12 -0800 (PST) Received: from [192.168.10.47] ([151.81.118.45]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c832c45sm981633f8f.32.2024.12.19.00.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 00:33:12 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Cc: Richard Henderson <richard.henderson@linaro.org> Subject: [PULL 21/41] include/hw/qdev-properties: Shrink struct Property Date: Thu, 19 Dec 2024 09:32:08 +0100 Message-ID: <20241219083228.363430-22-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/include/hw/qdev-properties.h b/include/hw/qdev-properties.h index ef3fd7b4ae2..3680cd239fb 100644 --- a/include/hw/qdev-properties.h +++ b/include/hw/qdev-properties.h @@ -16,17 +16,17 @@ struct Property { const char *name; const PropertyInfo *info; ptrdiff_t offset; - uint8_t bitnr; + const char *link_type; uint64_t bitmask; - bool set_default; union { int64_t i; uint64_t u; } defval; - int arrayoffset; const PropertyInfo *arrayinfo; + int arrayoffset; int arrayfieldsize; - const char *link_type; + uint8_t bitnr; + bool set_default; }; struct PropertyInfo {