qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9bd0e3: tests: Rename TestState to TPMTestSta


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9bd0e3: tests: Rename TestState to TPMTestState
Date: Thu, 02 Sep 2021 03:58:21 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9bd0e32a194826facff4e12d2cc8ba027dc107cb
      
https://github.com/qemu/qemu/commit/9bd0e32a194826facff4e12d2cc8ba027dc107cb
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/bios-tables-test.c
    M tests/qtest/tpm-crb-test.c
    M tests/qtest/tpm-emu.c
    M tests/qtest/tpm-emu.h
    M tests/qtest/tpm-tis-device-test.c
    M tests/qtest/tpm-tis-test.c
    M tests/qtest/tpm-tis-util.c

  Log Message:
  -----------
  tests: Rename TestState to TPMTestState

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-2-stefanb@linux.ibm.com


  Commit: 09b20a148afeebe2084c92672d3acaa26a371296
      
https://github.com/qemu/qemu/commit/09b20a148afeebe2084c92672d3acaa26a371296
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/bios-tables-test.c
    M tests/qtest/tpm-crb-test.c
    M tests/qtest/tpm-emu.c
    M tests/qtest/tpm-emu.h
    M tests/qtest/tpm-tis-device-test.c
    M tests/qtest/tpm-tis-test.c

  Log Message:
  -----------
  tests: Add tpm_version field to TPMTestState and fill it

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-3-stefanb@linux.ibm.com


  Commit: a003dbc69e92b416dafa2b0d988c6ca8cff85ae4
      
https://github.com/qemu/qemu/commit/a003dbc69e92b416dafa2b0d988c6ca8cff85ae4
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    A tests/data/acpi/q35/DSDT.tis.tpm2
    A tests/data/acpi/q35/TPM2.tis.tpm2
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests: acpi: Prepare for renaming of TPM2 related ACPI files

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-4-stefanb@linux.ibm.com


  Commit: bf8443ef99125e3c0f2511572af6de552287a734
      
https://github.com/qemu/qemu/commit/bf8443ef99125e3c0f2511572af6de552287a734
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests: Add suffix 'tpm2' or 'tpm12' to ACPI table files

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-5-stefanb@linux.ibm.com


  Commit: 4a42dda7c13498dfdc3e34575606e35109f22300
      
https://github.com/qemu/qemu/commit/4a42dda7c13498dfdc3e34575606e35109f22300
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    R tests/data/acpi/q35/DSDT.tis
    M tests/data/acpi/q35/DSDT.tis.tpm2
    R tests/data/acpi/q35/TPM2.tis
    M tests/data/acpi/q35/TPM2.tis.tpm2
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests: acpi: tpm2: Add the renamed ACPI files and drop old ones

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-6-stefanb@linux.ibm.com


  Commit: 044d55dcd47cbb9f03db255cdad1586f17c8a2da
      
https://github.com/qemu/qemu/commit/044d55dcd47cbb9f03db255cdad1586f17c8a2da
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/tpm-emu.c
    M tests/qtest/tpm-emu.h

  Log Message:
  -----------
  tests: tpm: Create TPM 1.2 response in TPM emulator

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-7-stefanb@linux.ibm.com


  Commit: 343776a68528a132ff9068bb0731f584b38ff2ea
      
https://github.com/qemu/qemu/commit/343776a68528a132ff9068bb0731f584b38ff2ea
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    A tests/data/acpi/q35/DSDT.tis.tpm12
    A tests/data/acpi/q35/TCPA.tis.tpm12
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests: acpi: prepare for new TPM 1.2 related tables

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-8-stefanb@linux.ibm.com


  Commit: 58edc32cfc796d56336a283aace5bdb5de25dc80
      
https://github.com/qemu/qemu/commit/58edc32cfc796d56336a283aace5bdb5de25dc80
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/bios-tables-test.c
    M tests/qtest/tpm-emu.c
    M tests/qtest/tpm-emu.h

  Log Message:
  -----------
  tests: Use QMP to check whether a TPM device model is available

Use QMP to check whether a given TPM device model is available and if it
is not the case then do not register the tests that require it.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210802215246.1433175-9-stefanb@linux.ibm.com


  Commit: 33660128d41722ea599afcfa85f1ab6496650c70
      
https://github.com/qemu/qemu/commit/33660128d41722ea599afcfa85f1ab6496650c70
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests: acpi: Add test cases for TPM 1.2 with TCPA table

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-10-stefanb@linux.ibm.com


  Commit: 75539b886ade79a30365badf95831bd5b3068342
      
https://github.com/qemu/qemu/commit/75539b886ade79a30365badf95831bd5b3068342
  Author: Stefan Berger <stefanb@linux.ibm.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M tests/data/acpi/q35/DSDT.tis.tpm12
    M tests/data/acpi/q35/TCPA.tis.tpm12
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests: acpi: tpm1.2: Add expected TPM 1.2 ACPI blobs

The TCPA.tis.tpm12 file contains the following:

[000h 0000   4]                    Signature : "TCPA"    [Trusted Computing 
Platform Alliance table]
[004h 0004   4]                 Table Length : 00000032
[008h 0008   1]                     Revision : 02
[009h 0009   1]                     Checksum : 32
[00Ah 0010   6]                       Oem ID : "BOCHS "
[010h 0016   8]                 Oem Table ID : "BXPC    "
[018h 0024   4]                 Oem Revision : 00000001
[01Ch 0028   4]              Asl Compiler ID : "BXPC"
[020h 0032   4]        Asl Compiler Revision : 00000001

[024h 0036   2]               Platform Class : 0000
[026h 0038   4]         Min Event Log Length : 00010000
[02Ah 0042   8]            Event Log Address : 0000000007FF0000

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-11-stefanb@linux.ibm.com


  Commit: 59a89510b62ec23dbeab8b02fa4e3526e353d8b6
      
https://github.com/qemu/qemu/commit/59a89510b62ec23dbeab8b02fa4e3526e353d8b6
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    R tests/data/acpi/q35/DSDT.tis
    A tests/data/acpi/q35/DSDT.tis.tpm12
    A tests/data/acpi/q35/DSDT.tis.tpm2
    A tests/data/acpi/q35/TCPA.tis.tpm12
    R tests/data/acpi/q35/TPM2.tis
    A tests/data/acpi/q35/TPM2.tis.tpm2
    M tests/qtest/bios-tables-test.c
    M tests/qtest/tpm-crb-test.c
    M tests/qtest/tpm-emu.c
    M tests/qtest/tpm-emu.h
    M tests/qtest/tpm-tis-device-test.c
    M tests/qtest/tpm-tis-test.c
    M tests/qtest/tpm-tis-util.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stefanberger/tags/pull-tpm-2021-09-01-1' into staging

Merge tpm 2021/09/01 v1

# gpg: Signature made Wed 01 Sep 2021 13:13:27 BST
# gpg:                using RSA key B818B9CADF9089C2D5CEC66B75AD65802A0B4211
# gpg: Good signature from "Stefan Berger <stefanb@linux.vnet.ibm.com>" 
[unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B818 B9CA DF90 89C2 D5CE  C66B 75AD 6580 2A0B 4211

* remotes/stefanberger/tags/pull-tpm-2021-09-01-1:
  tests: acpi: tpm1.2: Add expected TPM 1.2 ACPI blobs
  tests: acpi: Add test cases for TPM 1.2 with TCPA table
  tests: Use QMP to check whether a TPM device model is available
  tests: acpi: prepare for new TPM 1.2 related tables
  tests: tpm: Create TPM 1.2 response in TPM emulator
  tests: acpi: tpm2: Add the renamed ACPI files and drop old ones
  tests: Add suffix 'tpm2' or 'tpm12' to ACPI table files
  tests: acpi: Prepare for renaming of TPM2 related ACPI files
  tests: Add tpm_version field to TPMTestState and fill it
  tests: Rename TestState to TPMTestState

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/079b1252e9de...59a89510b62e



reply via email to

[Prev in Thread] Current Thread [Next in Thread]