{"id":2223044,"url":"http://patchwork.ozlabs.org/api/patches/2223044/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414082915.112122-10-armenon@redhat.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260414082915.112122-10-armenon@redhat.com>","list_archive_url":null,"date":"2026-04-14T08:29:14","name":"[v4,09/10] tpm: Extend TPM TIS buffer size to 8192 bytes","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"d30b3241f1703569bcf26a30b38bb794e6d43c8f","submitter":{"id":91136,"url":"http://patchwork.ozlabs.org/api/people/91136/?format=json","name":"Arun Menon","email":"armenon@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414082915.112122-10-armenon@redhat.com/mbox/","series":[{"id":499802,"url":"http://patchwork.ozlabs.org/api/series/499802/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=499802","date":"2026-04-14T08:29:05","name":"hw/tpm: CRB chunking capability to handle PQC","version":4,"mbox":"http://patchwork.ozlabs.org/series/499802/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223044/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223044/checks/","tags":{},"related":[],"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=W/IdM70B;\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=NxENyXtL;\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 4fvyDJ1Gnkz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 18:31:28 +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 1wCZAz-0001Nr-PJ; Tue, 14 Apr 2026 04:31:19 -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 <armenon@redhat.com>)\n id 1wCZAx-0001Fh-RB\n for qemu-devel@nongnu.org; Tue, 14 Apr 2026 04:31:15 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <armenon@redhat.com>)\n id 1wCZAv-00047g-KQ\n for qemu-devel@nongnu.org; Tue, 14 Apr 2026 04:31:15 -0400","from mail-pl1-f200.google.com (mail-pl1-f200.google.com\n [209.85.214.200]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-73-osmJiZLbP_66UXfO1frCug-1; Tue, 14 Apr 2026 04:31:11 -0400","by mail-pl1-f200.google.com with SMTP id\n d9443c01a7336-2b2523e0299so129491055ad.3\n for <qemu-devel@nongnu.org>; Tue, 14 Apr 2026 01:31:11 -0700 (PDT)","from fedora.armenon-thinkpadp16vgen1.bengluru.csb ([49.36.110.202])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b2d4e0f909sm181493785ad.35.2026.04.14.01.30.59\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Apr 2026 01:31:09 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776155472;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=X5BfOb29CchgA3O8cD3d/CWCo4Ox5ZAg0ea68Q66Ig0=;\n b=W/IdM70Bwj6aWlE4JIJhzd70oxe7SaFhxQvBsRK2x+DoVVvfIXIjY70PHZhwjyucJzKnpO\n XBEmeP+oZOgFOCucuuplWXTt1SgqfXaRIMHMQxgr97eektPFW+9gZpCB4VocRxh6fEXyg3\n ZcO3zXV7U459CZ2MF9VGPKPtC6Y/foc=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1776155470; x=1776760270; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=X5BfOb29CchgA3O8cD3d/CWCo4Ox5ZAg0ea68Q66Ig0=;\n b=NxENyXtL3Ye4D0f5rkcxHzko66O99Ik51vc0rj+c87jD7MzDTG1c0ofCkUPxdYylxl\n nUXakZaWAna9Dxj7ybQzg/Latb/J0QdSAxN1jzV5AV0xS/FV2oBqLqXsusa0Zhpy5Wvc\n PceSipnJ9SF4BbcOqGw1iXqF62rrQvbSCr92oJv24jh5yALaP99CtUDW/Qv1Vh5DgoUh\n YY7IT6Uows7miFdZogsLeR7Sq1jktOzquB0gf26j0EWu800J7QB8pRIo0HKi+7B+hpe7\n Wdxdm5OP6hmSIAFdg/SVBkOZ5hfGQFYCf8kgb9LBLhLzbxhLyXyUx2C1+WWAZ5NuXFvd\n 5Jqw=="],"X-MC-Unique":"osmJiZLbP_66UXfO1frCug-1","X-Mimecast-MFC-AGG-ID":"osmJiZLbP_66UXfO1frCug_1776155471","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776155470; x=1776760270;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=X5BfOb29CchgA3O8cD3d/CWCo4Ox5ZAg0ea68Q66Ig0=;\n b=VVXBD14K1rSthcMxcBQIQubZ6tG6zG/U0gijfkr3pBJna+DlKAEka3edShDirSS+Tj\n 9+wv1MyWgjbyLFsfH54dO1DQlk7BnUIgHU2cU/IlS50Gi3V3VqGxdeNsAhcd13shvXEE\n ZhCa5WvqqwNwVvm79ijbED1Hd+Zxtw/ZwSGNzCM/QeWRZprQaxKhxqya6jHEU5e3tfgy\n 5AY9IbPqaX3DZd5+orhsdZokYFDAJmMEY8RrjRDGi0cKTl+0yoJ/KuPQi0quBhz9ujzc\n 5uk7taRGyej9NK1e/94s5kHOnW5lmN0tfyvrkVvrwzBukeHqGuj2SVE6y8JMjUlAYjeV\n Jyzg==","X-Gm-Message-State":"AOJu0YzQCzQWlI03P3Deb9Iq19G5bMiyS8zVvmdVcxQupkFfwmCGIntW\n 0gnElpdc8nDGEJlgktdiW7whDUhQHSSnFU8jJZNAOhuuH7x3Ko6X7uoFIJKnZg0dckZ8CPv7bpy\n SVqei5KhjAEhd+Ivg05JE9c0OY7Pe3/pRfIfjP8w22AAyzHB96V0V+4v9Ws6MQsF0Ak8vBV5F0Y\n VPJjniPia4aU53SCfjts6cdT2D2/2oNHaeB7i3qMY=","X-Gm-Gg":"AeBDievRgfw95zCsZUp4pFvw2w9WbxOTmiiOhAEfbvIASHhW9Y2ZTwIePvFPGBez4MS\n SOmni+Es5KIvGD6ceI3tt57nU75yJsSHFqW8KGx1YMuExKiCf+VxIJYOaSRMBr+grrkFNBi8Q5f\n f2y9oZUHF5MEl+KbkSxCmHUcLJYeX3S34zuQnyWk0hWl2lsOrlUEa5SGwJZ8G2NxUM5py44s0Ei\n adf2uKN54bIoqT2P6nrwJw3owLs1pDsEakHuYkcNGyFjawoT80tDuxPpT4E453jLcY7Iqw3MdzC\n UxixCnuPx9djEKja3UVDOjR8UtujMBXUgYkyyKSC7+bEvDNZRXPXw3IZ9GHiKRnZLAJyY1j0RAw\n v9cP/sBETxlMf+AZT6/R5qyd7OM04s3YXhb7ODVaIxmnq3PqYKXHSsawD32mDRdY=","X-Received":["by 2002:a17:903:2285:b0:2b0:b1e7:8841 with SMTP id\n d9443c01a7336-2b2d5a49b1emr169400585ad.32.1776155470283;\n Tue, 14 Apr 2026 01:31:10 -0700 (PDT)","by 2002:a17:903:2285:b0:2b0:b1e7:8841 with SMTP id\n d9443c01a7336-2b2d5a49b1emr169400185ad.32.1776155469634;\n Tue, 14 Apr 2026 01:31:09 -0700 (PDT)"],"From":"Arun Menon <armenon@redhat.com>","To":"qemu-devel@nongnu.org","Cc":"Yanan Wang <wangyanan55@huawei.com>, Ani Sinha <anisinha@redhat.com>,\n \"Michael S. Tsirkin\" <mst@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?q?=C3=A9?= <philmd@linaro.org>,\n Stefan Berger <stefanb@linux.vnet.ibm.com>,\n Paolo Bonzini <pbonzini@redhat.com>,\n Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,\n Zhao Liu <zhao1.liu@intel.com>, marcandre.lureau@redhat.com,\n Igor Mammedov <imammedo@redhat.com>, Laurent Vivier <lvivier@redhat.com>,\n Fabiano Rosas <farosas@suse.de>, Arun Menon <armenon@redhat.com>,\n Stefan Berger <stefanb@linux.ibm.com>","Subject":"[PATCH v4 09/10] tpm: Extend TPM TIS buffer size to 8192 bytes","Date":"Tue, 14 Apr 2026 13:59:14 +0530","Message-ID":"<20260414082915.112122-10-armenon@redhat.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260414082915.112122-1-armenon@redhat.com>","References":"<20260414082915.112122-1-armenon@redhat.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=170.10.129.124; envelope-from=armenon@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com","X-Spam_score_int":"-25","X-Spam_score":"-2.6","X-Spam_bar":"--","X-Spam_report":"(-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54,\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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-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 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"},"content":"From: Stefan Berger <stefanb@linux.ibm.com>\n\nExtend the TIS buffer size to 8192 bytes and store the first 4096 bytes\nusing VMSTATE_PARTIAL_BUFFER and the rest using VMSTATE_BUFFER_START_MIDDLE\nwhen necessary. It is necessary to store the buffer beyond original 4096\nbytes when:\n\n - the user has written more than 4096 bytes to the buffer\n - the TPM 2 response is larger than 4096 bytes\n\nUse the .needed function of the VMStateDescription interface to check\nwhether the bytes in the buffer beyond 4096 bytes needed to be saved.\nThe .pre_save function is called before the .needed function so that we\ncan be sure to have received any response packet from the TPM.\n\nSigned-off-by: Stefan Berger <stefanb@linux.ibm.com>\n[ Arun Menon - Removed WIP tag and TODO for submission ]\nSigned-off-by: Arun Menon <armenon@redhat.com>\n---\n hw/tpm/tpm_tis.h        |  2 ++\n hw/tpm/tpm_tis_common.c | 23 +++++++++++++++++++++++\n hw/tpm/tpm_tis_i2c.c    | 24 +++++++++++++++++++++++-\n hw/tpm/tpm_tis_isa.c    | 24 +++++++++++++++++++++++-\n hw/tpm/tpm_tis_sysbus.c | 24 +++++++++++++++++++++++-\n 5 files changed, 94 insertions(+), 3 deletions(-)","diff":"diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h\nindex 184632ff66..d35c332287 100644\n--- a/hw/tpm/tpm_tis.h\n+++ b/hw/tpm/tpm_tis.h\n@@ -90,4 +90,6 @@ uint32_t tpm_tis_read_data(TPMState *s, hwaddr addr, unsigned size);\n void tpm_tis_write_data(TPMState *s, hwaddr addr, uint64_t val, uint32_t size);\n uint16_t tpm_tis_get_checksum(TPMState *s);\n \n+bool tpm_tis_ext_buffer_migration_needed(struct TPMState *s);\n+\n #endif /* TPM_TPM_TIS_H */\ndiff --git a/hw/tpm/tpm_tis_common.c b/hw/tpm/tpm_tis_common.c\nindex f594b15b8a..dffb0a411e 100644\n--- a/hw/tpm/tpm_tis_common.c\n+++ b/hw/tpm/tpm_tis_common.c\n@@ -890,3 +890,26 @@ const VMStateDescription vmstate_locty = {\n     }\n };\n \n+bool tpm_tis_ext_buffer_migration_needed(struct TPMState *s)\n+{\n+    if (!TPM_TIS_IS_VALID_LOCTY(s->active_locty)) {\n+        return false;\n+    }\n+\n+    switch (s->loc[s->active_locty].state) {\n+    case TPM_TIS_STATE_IDLE:\n+    case TPM_TIS_STATE_READY:\n+        return false;\n+    case TPM_TIS_STATE_RECEPTION:\n+        return s->rw_offset >= 4096;\n+    case TPM_TIS_STATE_EXECUTION:\n+        /*\n+         * TPM is executing: we cannot know the size of TPM response.\n+         * .pre_save must have been called before (should never get here).\n+         */\n+        return false;\n+    case TPM_TIS_STATE_COMPLETION:\n+        return (tpm_cmd_get_size(&s->buffer) >= 4096);\n+    }\n+    return false;\n+}\ndiff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c\nindex 9f13e0ec12..a01df7e5a0 100644\n--- a/hw/tpm/tpm_tis_i2c.c\n+++ b/hw/tpm/tpm_tis_i2c.c\n@@ -110,13 +110,31 @@ static int tpm_tis_i2c_post_load(void *opaque, int version_id)\n     return 0;\n }\n \n+static bool tpm_tis_ext_buffer_migration_needed_i2c(void *opaque)\n+{\n+    TPMStateI2C *i2cst = opaque;\n+\n+    return tpm_tis_ext_buffer_migration_needed(&i2cst->state);\n+}\n+\n+static const VMStateDescription vmstate_tpm_tis_ext_buffer_i2c = {\n+    .name = \"tpm-tis/ext_buffer\",\n+    .version_id = 0,\n+    .needed = tpm_tis_ext_buffer_migration_needed_i2c,\n+    .pre_save = tpm_tis_i2c_pre_save,\n+    .fields = (const VMStateField[]) {\n+        VMSTATE_BUFFER_START_MIDDLE(state.buffer, TPMStateI2C, 4096),\n+        VMSTATE_END_OF_LIST()\n+    }\n+};\n+\n static const VMStateDescription vmstate_tpm_tis_i2c = {\n     .name = \"tpm-tis-i2c\",\n     .version_id = 0,\n     .pre_save  = tpm_tis_i2c_pre_save,\n     .post_load  = tpm_tis_i2c_post_load,\n     .fields = (const VMStateField[]) {\n-        VMSTATE_BUFFER(state.buffer, TPMStateI2C),\n+        VMSTATE_PARTIAL_BUFFER(state.buffer, TPMStateI2C, 4096),\n         VMSTATE_UINT16(state.rw_offset, TPMStateI2C),\n         VMSTATE_UINT8(state.active_locty, TPMStateI2C),\n         VMSTATE_UINT8(state.aborting_locty, TPMStateI2C),\n@@ -133,6 +151,10 @@ static const VMStateDescription vmstate_tpm_tis_i2c = {\n         VMSTATE_UINT8(csum_enable, TPMStateI2C),\n \n         VMSTATE_END_OF_LIST()\n+    },\n+    .subsections = (const VMStateDescription *const[]) {\n+        &vmstate_tpm_tis_ext_buffer_i2c,\n+        NULL,\n     }\n };\n \ndiff --git a/hw/tpm/tpm_tis_isa.c b/hw/tpm/tpm_tis_isa.c\nindex 61e95434f5..73038f1a10 100644\n--- a/hw/tpm/tpm_tis_isa.c\n+++ b/hw/tpm/tpm_tis_isa.c\n@@ -49,12 +49,30 @@ static int tpm_tis_pre_save_isa(void *opaque)\n     return tpm_tis_pre_save(&isadev->state);\n }\n \n+static bool tpm_tis_ext_buffer_migration_needed_isa(void *opaque)\n+{\n+    TPMStateISA *isadev = opaque;\n+\n+    return tpm_tis_ext_buffer_migration_needed(&isadev->state);\n+}\n+\n+static const VMStateDescription vmstate_tpm_tis_ext_buffer_isa = {\n+    .name = \"tpm-tis/ext_buffer\",\n+    .version_id = 0,\n+    .needed = tpm_tis_ext_buffer_migration_needed_isa,\n+    .pre_save = tpm_tis_pre_save_isa,\n+    .fields = (const VMStateField[]) {\n+        VMSTATE_BUFFER_START_MIDDLE(state.buffer, TPMStateISA, 4096),\n+        VMSTATE_END_OF_LIST()\n+    }\n+};\n+\n static const VMStateDescription vmstate_tpm_tis_isa = {\n     .name = \"tpm-tis\",\n     .version_id = 0,\n     .pre_save  = tpm_tis_pre_save_isa,\n     .fields = (const VMStateField[]) {\n-        VMSTATE_BUFFER(state.buffer, TPMStateISA),\n+        VMSTATE_PARTIAL_BUFFER(state.buffer, TPMStateISA, 4096),\n         VMSTATE_UINT16(state.rw_offset, TPMStateISA),\n         VMSTATE_UINT8(state.active_locty, TPMStateISA),\n         VMSTATE_UINT8(state.aborting_locty, TPMStateISA),\n@@ -64,6 +82,10 @@ static const VMStateDescription vmstate_tpm_tis_isa = {\n                              vmstate_locty, TPMLocality),\n \n         VMSTATE_END_OF_LIST()\n+    },\n+    .subsections = (const VMStateDescription *const[]) {\n+        &vmstate_tpm_tis_ext_buffer_isa,\n+        NULL,\n     }\n };\n \ndiff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c\nindex e9372e7316..86fc5a592c 100644\n--- a/hw/tpm/tpm_tis_sysbus.c\n+++ b/hw/tpm/tpm_tis_sysbus.c\n@@ -48,12 +48,30 @@ static int tpm_tis_pre_save_sysbus(void *opaque)\n     return tpm_tis_pre_save(&sbdev->state);\n }\n \n+static bool tpm_tis_ext_buffer_migration_needed_sysbus(void *opaque)\n+{\n+    TPMStateSysBus *sbdev = opaque;\n+\n+    return tpm_tis_ext_buffer_migration_needed(&sbdev->state);\n+}\n+\n+static const VMStateDescription vmstate_tpm_tis_ext_buffer_sysbus = {\n+    .name = \"tpm-tis/ext_buffer\",\n+    .version_id = 0,\n+    .needed = tpm_tis_ext_buffer_migration_needed_sysbus,\n+    .pre_save  = tpm_tis_pre_save_sysbus,\n+    .fields = (const VMStateField[]) {\n+        VMSTATE_BUFFER_START_MIDDLE(state.buffer, TPMStateSysBus, 4096),\n+        VMSTATE_END_OF_LIST()\n+    }\n+};\n+\n static const VMStateDescription vmstate_tpm_tis_sysbus = {\n     .name = \"tpm-tis\",\n     .version_id = 0,\n     .pre_save  = tpm_tis_pre_save_sysbus,\n     .fields = (const VMStateField[]) {\n-        VMSTATE_BUFFER(state.buffer, TPMStateSysBus),\n+        VMSTATE_PARTIAL_BUFFER(state.buffer, TPMStateSysBus, 4096),\n         VMSTATE_UINT16(state.rw_offset, TPMStateSysBus),\n         VMSTATE_UINT8(state.active_locty, TPMStateSysBus),\n         VMSTATE_UINT8(state.aborting_locty, TPMStateSysBus),\n@@ -63,6 +81,10 @@ static const VMStateDescription vmstate_tpm_tis_sysbus = {\n                              0, vmstate_locty, TPMLocality),\n \n         VMSTATE_END_OF_LIST()\n+    },\n+    .subsections = (const VMStateDescription *const[]) {\n+        &vmstate_tpm_tis_ext_buffer_sysbus,\n+        NULL,\n     }\n };\n \n","prefixes":["v4","09/10"]}