mbox

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

Message ID 20241107150534.38651-1-stefanb@linux.ibm.com (mailing list archive)
State New
Headers show

Pull-request

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

Message

Stefan Berger Nov. 7, 2024, 3:05 p.m. UTC
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(-)

Comments

Peter Maydell Nov. 8, 2024, 10:22 a.m. UTC | #1
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