[{"id":3679539,"web_url":"http://patchwork.ozlabs.org/comment/3679539/","msgid":"<871pg9fn7s.fsf@suse.de>","list_archive_url":null,"date":"2026-04-20T19:25:43","subject":"Re: [PATCH 01/11] vmstate: Pass in struct itself for\n VMSTATE_ARRAY_OF_POINTER","submitter":{"id":85343,"url":"http://patchwork.ozlabs.org/api/people/85343/","name":"Fabiano Rosas","email":"farosas@suse.de"},"content":"Peter Xu <peterx@redhat.com> writes:\n\n> Passing in a pointer almost never helps.  Convert it to pass in struct for\n> further refactoring on VMS_ARRAY_OF_POINTER.\n>\n> Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>\n> Reviewed-by: Fabiano Rosas <farosas@suse.de>\n> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n> Signed-off-by: Peter Xu <peterx@redhat.com>\n> ---\n>  include/migration/vmstate.h | 6 +++---\n>  tests/unit/test-vmstate.c   | 2 +-\n>  roms/seabios-hppa           | 2 +-\n>  3 files changed, 5 insertions(+), 5 deletions(-)\n>\n> diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h\n> index d4a39aa794..d4880e75c2 100644\n> --- a/include/migration/vmstate.h\n> +++ b/include/migration/vmstate.h\n> @@ -547,9 +547,9 @@ extern const VMStateInfo vmstate_info_qlist;\n>      .version_id = (_version),                                        \\\n>      .num        = (_num),                                            \\\n>      .info       = &(_info),                                          \\\n> -    .size       = sizeof(_type),                                     \\\n> +    .size       = sizeof(_type *),                                   \\\n>      .flags      = VMS_ARRAY|VMS_ARRAY_OF_POINTER,                    \\\n> -    .offset     = vmstate_offset_array(_state, _field, _type, _num), \\\n> +    .offset     = vmstate_offset_array(_state, _field, _type *, _num), \\\n>  }\n>  \n>  #define VMSTATE_ARRAY_OF_POINTER_TO_STRUCT(_f, _s, _n, _v, _vmsd, _type) { \\\n> @@ -1093,7 +1093,7 @@ extern const VMStateInfo vmstate_info_qlist;\n>      VMSTATE_TIMER_PTR_V(_f, _s, 0)\n>  \n>  #define VMSTATE_TIMER_PTR_ARRAY(_f, _s, _n)                              \\\n> -    VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, 0, vmstate_info_timer, QEMUTimer *)\n> +    VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, 0, vmstate_info_timer, QEMUTimer)\n>  \n>  #define VMSTATE_TIMER_TEST(_f, _s, _test)                             \\\n>      VMSTATE_SINGLE_TEST(_f, _s, _test, 0, vmstate_info_timer, QEMUTimer)\n> diff --git a/tests/unit/test-vmstate.c b/tests/unit/test-vmstate.c\n> index cadbab3c5e..6a42cc1a4e 100644\n> --- a/tests/unit/test-vmstate.c\n> +++ b/tests/unit/test-vmstate.c\n> @@ -668,7 +668,7 @@ const VMStateDescription vmsd_arpp = {\n>      .minimum_version_id = 1,\n>      .fields = (const VMStateField[]) {\n>          VMSTATE_ARRAY_OF_POINTER(ar, TestArrayOfPtrToInt,\n> -                AR_SIZE, 0, vmstate_info_int32, int32_t*),\n> +                AR_SIZE, 0, vmstate_info_int32, int32_t),\n>          VMSTATE_END_OF_LIST()\n>      }\n>  };\n> diff --git a/roms/seabios-hppa b/roms/seabios-hppa\n> index cf3a472f4d..1a8ada1fb7 160000\n> --- a/roms/seabios-hppa\n> +++ b/roms/seabios-hppa\n> @@ -1 +1 @@\n> -Subproject commit cf3a472f4ddea30d2d483a8ba4b005505f0dabb3\n> +Subproject commit 1a8ada1fb70643172e251aacbac673c9ecda99e9\n\nMay I delete this hunk?","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=QDrrq+En;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=fBFvSPst;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=QDrrq+En;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=fBFvSPst;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)","smtp-out1.suse.de;\n\tnone"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzwTQ5D7Lz1yHB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 05:26:33 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wEuFk-0004fa-0w; Mon, 20 Apr 2026 15:25:52 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wEuFh-0004fN-Ov\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:25:49 -0400","from smtp-out1.suse.de ([195.135.223.130])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wEuFg-0001vC-4V\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:25:49 -0400","from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 379946A7D5;\n Mon, 20 Apr 2026 19:25:46 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id BA2F6593AE;\n Mon, 20 Apr 2026 19:25:45 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id vcQCIbl95mm4BgAAD6G6ig\n (envelope-from <farosas@suse.de>); Mon, 20 Apr 2026 19:25:45 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776713146;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=yuw1/GC1KMNy1p7x+U/wfwFZQlY1xT0q2AosFIOLjcM=;\n b=QDrrq+En8nlUGZ0x024JyFcFlo2WVl70HksTgdhjMEfZAfqt+Ha/mjobbQfwLLXiNPbr6X\n X24XsvsKbEsbK0EvSVh5CNj2K8HmWhgYG32w6t8M4Ftf467Ka56wvMtNPIPzqv+HLM4R4X\n FvbRestlO5XAIZr2rXATNqDZj4z94jU=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776713146;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=yuw1/GC1KMNy1p7x+U/wfwFZQlY1xT0q2AosFIOLjcM=;\n b=fBFvSPstDnE0/lNVO8tOs798d4IBuYvZ8VcRugT5jjTIp8SSlwI5LIKJuyvxSS0hvlloZQ\n rh6DKyOl57SQ3MCA==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776713146;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=yuw1/GC1KMNy1p7x+U/wfwFZQlY1xT0q2AosFIOLjcM=;\n b=QDrrq+En8nlUGZ0x024JyFcFlo2WVl70HksTgdhjMEfZAfqt+Ha/mjobbQfwLLXiNPbr6X\n X24XsvsKbEsbK0EvSVh5CNj2K8HmWhgYG32w6t8M4Ftf467Ka56wvMtNPIPzqv+HLM4R4X\n FvbRestlO5XAIZr2rXATNqDZj4z94jU=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776713146;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=yuw1/GC1KMNy1p7x+U/wfwFZQlY1xT0q2AosFIOLjcM=;\n b=fBFvSPstDnE0/lNVO8tOs798d4IBuYvZ8VcRugT5jjTIp8SSlwI5LIKJuyvxSS0hvlloZQ\n rh6DKyOl57SQ3MCA=="],"From":"Fabiano Rosas <farosas@suse.de>","To":"Peter Xu <peterx@redhat.com>, qemu-devel@nongnu.org","Cc":"Juraj Marcin <jmarcin@redhat.com>,\n Alexander Mikhalitsyn <alexander@mihalicyn.com>,\n Peter Xu <peterx@redhat.com>,\n Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>, Philippe\n\t=?utf-8?q?Mathieu-Daud=C3=A9?= <philmd@linaro.org>","Subject":"Re: [PATCH 01/11] vmstate: Pass in struct itself for\n VMSTATE_ARRAY_OF_POINTER","In-Reply-To":"<20260401202844.673494-2-peterx@redhat.com>","References":"<20260401202844.673494-1-peterx@redhat.com>\n <20260401202844.673494-2-peterx@redhat.com>","Date":"Mon, 20 Apr 2026 16:25:43 -0300","Message-ID":"<871pg9fn7s.fsf@suse.de>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable","X-Spamd-Result":"default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[];\n RCVD_TLS_ALL(0.00)[]; MISSING_XM_UA(0.00)[];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+];\n RCPT_COUNT_SEVEN(0.00)[7]; MID_RHS_MATCH_FROM(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];\n FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n RCVD_COUNT_TWO(0.00)[2];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, suse.de:mid,\n suse.de:email]","X-Spam-Score":"-4.30","Received-SPF":"pass client-ip=195.135.223.130; envelope-from=farosas@suse.de;\n helo=smtp-out1.suse.de","X-Spam_score_int":"-43","X-Spam_score":"-4.4","X-Spam_bar":"----","X-Spam_report":"(-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,\n 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 development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <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>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}},{"id":3679559,"web_url":"http://patchwork.ozlabs.org/comment/3679559/","msgid":"<aeaDbQzuCRA2QDNO@x1.local>","list_archive_url":null,"date":"2026-04-20T19:50:05","subject":"Re: [PATCH 01/11] vmstate: Pass in struct itself for\n VMSTATE_ARRAY_OF_POINTER","submitter":{"id":67717,"url":"http://patchwork.ozlabs.org/api/people/67717/","name":"Peter Xu","email":"peterx@redhat.com"},"content":"On Mon, Apr 20, 2026 at 04:25:43PM -0300, Fabiano Rosas wrote:\n> > diff --git a/roms/seabios-hppa b/roms/seabios-hppa\n> > index cf3a472f4d..1a8ada1fb7 160000\n> > --- a/roms/seabios-hppa\n> > +++ b/roms/seabios-hppa\n> > @@ -1 +1 @@\n> > -Subproject commit cf3a472f4ddea30d2d483a8ba4b005505f0dabb3\n> > +Subproject commit 1a8ada1fb70643172e251aacbac673c9ecda99e9\n> \n> May I delete this hunk?\n\n:-D\n\n:-(\n\nYes..","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=dJqsyigz;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=qXR7mlGv;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzx1b1FkKz1yHB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 05:50:57 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wEudL-00055W-HY; Mon, 20 Apr 2026 15:50:15 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peterx@redhat.com>) id 1wEudJ-00055L-0L\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:50:13 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peterx@redhat.com>) id 1wEudH-00076e-Gb\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:50:12 -0400","from mail-qv1-f69.google.com (mail-qv1-f69.google.com\n [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-562-RccKscmfN2-UX13g1METyw-1; Mon, 20 Apr 2026 15:50:07 -0400","by mail-qv1-f69.google.com with SMTP id\n 6a1803df08f44-8a22dbeeb96so65762106d6.3\n for <qemu-devel@nongnu.org>; Mon, 20 Apr 2026 12:50:07 -0700 (PDT)","from x1.local ([142.189.10.167]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b02ac4260bsm81606526d6.4.2026.04.20.12.50.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 20 Apr 2026 12:50:06 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776714609;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=MeyCP5I3ANLkTPygS9lmtfdAhalPzkFNY+mh3e/KtkA=;\n b=dJqsyigzkcLYj2ENUUqc8RHz9LpESPSC8c/QaFXa/G2CO1Hp4qe+ufjxKUU9DfjRj9/vI7\n lUZF2MnmQpwq0XQBxVWp3Nnco62vCFVrtHb2xIoPtFROksml6BU7sC6EPa4q7QPcatZkDx\n RLbFWYOkyIv5MKK3KdVyOHldza3NGaU=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1776714607; x=1777319407; darn=nongnu.org;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to;\n bh=MeyCP5I3ANLkTPygS9lmtfdAhalPzkFNY+mh3e/KtkA=;\n b=qXR7mlGvan2n8iWC9dJrf2+vSrNr31Qr2W6ou074fqqjrcro9YWCqpVLMNj295t5qB\n Xi2/aqIwzXNemvBgUufPzdMAHUA3fIJ78u91xUYrjllz9heeGW5Tn5VfCERP5P4GrT46\n bnJGNbmzwn82U+HaTkraR9vGMu7oaCpTk5w9gibGj6LwVeP9QPmV+KDrYNk1MGVQAxYO\n JHcWsstEAfFcZ6o+vVUDExJoucn3UxrJ60Ina4cyWulhkC4pPb0x7UUX5LhvHI+KO6sj\n ATP51WlgeM81mm0xiTP3Dr1jUfpMAj5J3yPxSwe8j9XvNBa7txZdcfgBgEb4kni8gFvI\n LYew=="],"X-MC-Unique":"RccKscmfN2-UX13g1METyw-1","X-Mimecast-MFC-AGG-ID":"RccKscmfN2-UX13g1METyw_1776714607","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776714607; x=1777319407;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=MeyCP5I3ANLkTPygS9lmtfdAhalPzkFNY+mh3e/KtkA=;\n b=lBqwLgzeDAuplWC1RZe7jVTymu+o+LsofjKFEGJ/V40osvY83Fe5VIO9MjVLpbAZfx\n 65b/o/m0mIl7ifNifVjosyxQ+1faa/cEnQHaqOQMd+rOqqYJREOqh+kJM0vdj6FOX8bA\n jl2vG1d/Ach7Xoe4A5cTqU07z7njwFsbO/2fgUtl3BENy3V3/kj64UZGHoIOPFRR00mx\n /wvL98h08DbpQhaCZoNfqD1pUxsnqfPZqMAHvozjyCwL656ppQzkXzDcjLiZG7PFUkaw\n I4TOAf3WhMAjr/5mrTj+KSxblLLskXjgFMRVqpiJ1N7eNIOcq2VGP0JBONksKiln0USM\n 8VLg==","X-Gm-Message-State":"AOJu0Yydg8uKK67x7RKM4x3qGa+W02wTTYDcCXYtA8zKfrHG1JVWSby9\n Ql0z6kpF8g7jyKcXGCJIAus0Ddzkcs5Enl5OccMHDtOf2CEsnAmCX74coOuYWNliWTJAsWAtfkl\n iuQJSKgHiSogYh/Wd3EzSUdg9W7oKF4QA5VKn26PAsXfQFiiVQufMScTv","X-Gm-Gg":"AeBDieuu+f+DvvtPOs/j2XANaE6BFcDo9kDo7eeGHjCJgR+1r7RH9iWf4rv6LgfVoSr\n QAHR8w2+Ljo+UWmloXdzqRTJXnsHIsTARGKYgjMv73GQGFlswrD/ta2jc5h4iQJQFO5mXLJOXjo\n Z4+TSLyFm3lJ2F74XLhWwZIn/0LU/ExmEJc075FiZYEYkaz+RAMtYPjIdiSQldCDAwmQ/cNn13k\n PnO6FfE3gxDkcYbxsNF7ID6HQfvzbcyKOycbDCJuqWJQabVxfnZZhEIO0JQXr25B54Lf4DroJ7m\n pZqAjEy2kEwsQqT4/fFchPLLb3CMa7w9mtp1wjbve93EHh+mWYbNvZdR55RtwygBOA0K+2CDyeP\n 0jHKOqfyi6aeC2vS+qaV83/DjM3ml5/5paGDF8mpemFFIhy/ngdEmEhgXsQ==","X-Received":["by 2002:a05:6214:2686:b0:8ae:6460:c544 with SMTP id\n 6a1803df08f44-8b0281fe7b3mr262542946d6.41.1776714607118;\n Mon, 20 Apr 2026 12:50:07 -0700 (PDT)","by 2002:a05:6214:2686:b0:8ae:6460:c544 with SMTP id\n 6a1803df08f44-8b0281fe7b3mr262542086d6.41.1776714606465;\n Mon, 20 Apr 2026 12:50:06 -0700 (PDT)"],"Date":"Mon, 20 Apr 2026 15:50:05 -0400","From":"Peter Xu <peterx@redhat.com>","To":"Fabiano Rosas <farosas@suse.de>","Cc":"qemu-devel@nongnu.org, Juraj Marcin <jmarcin@redhat.com>,\n Alexander Mikhalitsyn <alexander@mihalicyn.com>,\n Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>, Philippe\n\t=?utf-8?q?Mathieu-Daud=C3=A9?= <philmd@linaro.org>","Subject":"Re: [PATCH 01/11] vmstate: Pass in struct itself for\n VMSTATE_ARRAY_OF_POINTER","Message-ID":"<aeaDbQzuCRA2QDNO@x1.local>","References":"<20260401202844.673494-1-peterx@redhat.com>\n <20260401202844.673494-2-peterx@redhat.com>\n <871pg9fn7s.fsf@suse.de>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<871pg9fn7s.fsf@suse.de>","Received-SPF":"pass client-ip=170.10.133.124; envelope-from=peterx@redhat.com;\n helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001,\n 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 development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <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>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}}]