The following changes since commit 5611a9268dae7b7ff99d478ed134052a9fc7e9f7:
Merge tag 'pull-9p-20260601' of https://github.com/cschoenebeck/qemu into staging (2026-06-01 08:43:53 -0400) are available in the Git repository at: https://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2026-06-01-1 for you to fetch changes up to f0602ce389ccda0e8df35ccaec3c1024478a0b10: tpm_emulator: Disconnect if response exceeds negotiated buffer size (2026-06-01 19:44:39 +0000) ---------------------------------------------------------------- This series of patches - Improves the buffer handling in the TPM emulator backend - Implements chunking support for the TPM CRB device - Adds support for saving & loading of VMSTATE_GBYTEARRAY - Adds a swtpm test for the TPM I2C device ---------------------------------------------------------------- Arun Menon (8): migration/vmstate: Add VMState support for GByteArray ui/vdagent: Use VMSTATE_GBYTEARRAY to safely migrate outbuf hw/tpm: Add TPM CRB chunking fields hw/tpm: Refactor CRB_CTRL_START register access hw/tpm: Add internal buffer state for chunking hw/tpm: Implement TPM CRB chunking logic test/qtest: Add test for tpm crb chunking hw/tpm: Add support for VM migration with TPM CRB chunking Stefan Berger (8): tests: Move TPM I2C bus read/write functions to common files tests: Have TPM I2C read/write functions take QTestState as first parameter tests: Convert string arrays to byte arrays tests: Rename id of tpmdev to tpm0 tests: Check whether the I2C master flag is set tests: Add a TPM TIS I2C swtpm test tpm_emulator: Reject a buffer size different than what was requested tpm_emulator: Disconnect if response exceeds negotiated buffer size backends/tpm/tpm_emulator.c | 35 +++- hw/core/machine.c | 2 + hw/tpm/tpm_crb.c | 253 +++++++++++++++++++++++++-- include/hw/acpi/tpm.h | 5 +- include/migration/vmstate.h | 10 ++ migration/vmstate-types.c | 28 +++ tests/qtest/meson.build | 7 +- tests/qtest/qtest_aspeed.c | 9 +- tests/qtest/tpm-crb-swtpm-test.c | 10 ++ tests/qtest/tpm-tests.c | 34 ++-- tests/qtest/tpm-tis-i2c-swtpm-test.c | 82 +++++++++ tests/qtest/tpm-tis-i2c-test.c | 221 ++++++++++------------- tests/qtest/tpm-tis-i2c-util.c | 102 +++++++++++ tests/qtest/tpm-tis-i2c-util.h | 34 ++++ tests/qtest/tpm-util.c | 162 +++++++++++++---- tests/qtest/tpm-util.h | 5 + ui/vdagent.c | 13 +- 17 files changed, 793 insertions(+), 219 deletions(-) create mode 100644 tests/qtest/tpm-tis-i2c-swtpm-test.c create mode 100644 tests/qtest/tpm-tis-i2c-util.c create mode 100644 tests/qtest/tpm-tis-i2c-util.h -- 2.54.0
