aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2023-03-28 22:38:44 +1030
committerStefan Berger <stefanb@linux.ibm.com>2023-04-20 08:17:15 -0400
commitc3d58a7a26ffbf2ac54ed6d7a3a83f2a7af7159b (patch)
tree8e44bf37452d4764cf58d6d2107227a599ae19ab /qemu-io.c
parent139fdb3ed8f593b03f78ec9984467562331ef98c (diff)
tests/avocado/aspeed: Add TPM TIS I2C test
Add a new buildroot image based test that attaches a TPM emulator to the I2C bus and checks for a known PCR0 value for the image that was booted. Note that this does not tear down swtpm process when qemu execution fails. The swtpm process will exit when qemu exits if a connection has been made, but if the test errors before connection then the swtpm process will still be around. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Ninad Palsule <ninad@linux.ibm.com> Message-id: 20230328120844.190914-1-joel@jms.id.au
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions