[PULL 0/5] fw_cfg/crypto patches for 5.1 soft freeze

Philippe Mathieu-Daudé posted 5 patches 3 years, 9 months ago
Test FreeBSD passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200704163927.28188-1-philmd@redhat.com
docs/specs/fw_cfg.txt              |  13 ++-
include/crypto/tls-cipher-suites.h |  39 +++++++++
include/hw/nvram/fw_cfg.h          |  43 ++++++++++
crypto/tls-cipher-suites.c         | 126 +++++++++++++++++++++++++++++
hw/nvram/fw_cfg.c                  |  35 ++++++++
softmmu/vl.c                       |  37 ++++++---
crypto/Makefile.objs               |   1 +
crypto/trace-events                |   5 ++
qemu-options.hx                    |  37 +++++++++
9 files changed, 326 insertions(+), 10 deletions(-)
create mode 100644 include/crypto/tls-cipher-suites.h
create mode 100644 crypto/tls-cipher-suites.c
[PULL 0/5] fw_cfg/crypto patches for 5.1 soft freeze
Posted by Philippe Mathieu-Daudé 3 years, 9 months ago
The following changes since commit 4abf70a661a5df3886ac9d7c19c3617fa92b922a:

  Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-06-24' =
into staging (2020-07-03 15:34:45 +0100)

are available in the Git repository at:

  https://gitlab.com/philmd/qemu.git tags/fw_cfg-20200704

for you to fetch changes up to 69699f3055a59e24f1153c329ae6eff4b9a343e0:

  crypto/tls-cipher-suites: Produce fw_cfg consumable blob (2020-07-03 18:16:=
01 +0200)

----------------------------------------------------------------
firmware (and crypto) patches

- add the tls-cipher-suites object,
- add the ability to QOM objects to produce data consumable
  by the fw_cfg device,
- let the tls-cipher-suites object implement the
  FW_CFG_DATA_GENERATOR interface.

This is required by EDK2 'HTTPS Boot' feature of OVMF to tell
the guest which TLS ciphers it can use.

CI jobs results:
  https://travis-ci.org/github/philmd/qemu/builds/704724619
  https://gitlab.com/philmd/qemu/-/pipelines/162938106
  https://cirrus-ci.com/build/4682977303068672

----------------------------------------------------------------

Philippe Mathieu-Daud=C3=A9 (5):
  crypto: Add tls-cipher-suites object
  hw/nvram/fw_cfg: Add the FW_CFG_DATA_GENERATOR interface
  softmmu/vl: Let -fw_cfg option take a 'gen_id' argument
  softmmu/vl: Allow -fw_cfg 'gen_id' option to use the 'etc/' namespace
  crypto/tls-cipher-suites: Produce fw_cfg consumable blob

 docs/specs/fw_cfg.txt              |  13 ++-
 include/crypto/tls-cipher-suites.h |  39 +++++++++
 include/hw/nvram/fw_cfg.h          |  43 ++++++++++
 crypto/tls-cipher-suites.c         | 126 +++++++++++++++++++++++++++++
 hw/nvram/fw_cfg.c                  |  35 ++++++++
 softmmu/vl.c                       |  37 ++++++---
 crypto/Makefile.objs               |   1 +
 crypto/trace-events                |   5 ++
 qemu-options.hx                    |  37 +++++++++
 9 files changed, 326 insertions(+), 10 deletions(-)
 create mode 100644 include/crypto/tls-cipher-suites.h
 create mode 100644 crypto/tls-cipher-suites.c

--=20
2.21.3


Re: [PULL 0/5] fw_cfg/crypto patches for 5.1 soft freeze
Posted by Peter Maydell 3 years, 9 months ago
On Sat, 4 Jul 2020 at 17:41, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> The following changes since commit 4abf70a661a5df3886ac9d7c19c3617fa92b922a:
>
>   Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-06-24' =
> into staging (2020-07-03 15:34:45 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/philmd/qemu.git tags/fw_cfg-20200704
>
> for you to fetch changes up to 69699f3055a59e24f1153c329ae6eff4b9a343e0:
>
>   crypto/tls-cipher-suites: Produce fw_cfg consumable blob (2020-07-03 18:16:=
> 01 +0200)
>
> ----------------------------------------------------------------
> firmware (and crypto) patches
>
> - add the tls-cipher-suites object,
> - add the ability to QOM objects to produce data consumable
>   by the fw_cfg device,
> - let the tls-cipher-suites object implement the
>   FW_CFG_DATA_GENERATOR interface.
>
> This is required by EDK2 'HTTPS Boot' feature of OVMF to tell
> the guest which TLS ciphers it can use.
>
> CI jobs results:
>   https://travis-ci.org/github/philmd/qemu/builds/704724619
>   https://gitlab.com/philmd/qemu/-/pipelines/162938106
>   https://cirrus-ci.com/build/4682977303068672
>
> ----------------------------------------------------------------
>
> Philippe Mathieu-Daud=C3=A9 (5):
>   crypto: Add tls-cipher-suites object
>   hw/nvram/fw_cfg: Add the FW_CFG_DATA_GENERATOR interface
>   softmmu/vl: Let -fw_cfg option take a 'gen_id' argument
>   softmmu/vl: Allow -fw_cfg 'gen_id' option to use the 'etc/' namespace
>   crypto/tls-cipher-suites: Produce fw_cfg consumable blob


Applied, thanks.

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

-- PMM