[PULL v2 0/1] Merge Aspeed TPM test 2024/11/07 v2

Stefan Berger posted 1 patch 2 weeks, 2 days ago
tests/functional/test_arm_aspeed.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
[PULL v2 0/1] Merge Aspeed TPM test 2024/11/07 v2
Posted by Stefan Berger 2 weeks, 2 days ago
Hello!

 This PR fixes the path used by swtpm to store its state and now uses a
path under /var/tmp rather than a path local to the test. We ran into
issues on Ubuntu when that path was under /mnt and therefore not
supported by the AppArmor profile of swtpm.

   Stefan

The following changes since commit 63dc36944383f70f1c7a20f6104966d8560300fa:

  Merge tag 'hw-misc-20241105' of https://github.com/philmd/qemu into staging (2024-11-06 17:28:45 +0000)

are available in the Git repository at:

  https://github.com/stefanberger/qemu-tpm.git pull-tpm-2024-11-07-2

for you to fetch changes up to e3edada526f3ac28f71dc8ae7a0acbc76f8e2050:

  tests: Adjust path for swtpm state to use path under /var/tmp/ (2024-11-07 09:57:20 -0500)

v2:
 - Added missing comment into test file; generalized it a bit from Peter's
   suggestion

Stefan Berger (1):
  tests: Adjust path for swtpm state to use path under /var/tmp/

 tests/functional/test_arm_aspeed.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.47.0
Re: [PULL v2 0/1] Merge Aspeed TPM test 2024/11/07 v2
Posted by Peter Maydell 2 weeks, 1 day ago
On Thu, 7 Nov 2024 at 15:05, Stefan Berger <stefanb@linux.ibm.com> wrote:
>
> Hello!
>
>  This PR fixes the path used by swtpm to store its state and now uses a
> path under /var/tmp rather than a path local to the test. We ran into
> issues on Ubuntu when that path was under /mnt and therefore not
> supported by the AppArmor profile of swtpm.
>
>    Stefan
>
> The following changes since commit 63dc36944383f70f1c7a20f6104966d8560300fa:
>
>   Merge tag 'hw-misc-20241105' of https://github.com/philmd/qemu into staging (2024-11-06 17:28:45 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/stefanberger/qemu-tpm.git pull-tpm-2024-11-07-2
>
> for you to fetch changes up to e3edada526f3ac28f71dc8ae7a0acbc76f8e2050:
>
>   tests: Adjust path for swtpm state to use path under /var/tmp/ (2024-11-07 09:57:20 -0500)
>
> v2:
>  - Added missing comment into test file; generalized it a bit from Peter's
>    suggestion
>
> Stefan Berger (1):
>   tests: Adjust path for swtpm state to use path under /var/tmp/


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/9.2
for any user-visible changes.

-- PMM