[PATCH 0/4] bhyve: implement TPM support

Roman Bogorodskiy posted 4 patches 2 weeks, 2 days ago
src/bhyve/bhyve_capabilities.c                | 29 +++++++-
src/bhyve/bhyve_capabilities.h                |  1 +
src/bhyve/bhyve_command.c                     | 27 ++++++++
src/bhyve/bhyve_domain.c                      | 38 +++++++++-
.../x86_64/bhyvexml2argv-tpm-comma-path.xml   | 16 +++++
.../x86_64/bhyvexml2argv-tpm-crb.args         | 12 ++++
.../x86_64/bhyvexml2argv-tpm-crb.ldargs       |  4 ++
.../x86_64/bhyvexml2argv-tpm-crb.xml          | 28 ++++++++
.../bhyvexml2argv-tpm-invalid-model.xml       | 16 +++++
.../bhyvexml2argv-tpm-multiple-devices.xml    | 21 ++++++
.../x86_64/bhyvexml2argv-tpm.args             | 12 ++++
.../x86_64/bhyvexml2argv-tpm.ldargs           |  4 ++
.../x86_64/bhyvexml2argv-tpm.xml              | 28 ++++++++
tests/bhyvexml2argvtest.c                     | 10 ++-
.../x86_64/bhyvexml2xmlout-tpm.xml            | 41 +++++++++++
tests/bhyvexml2xmltest.c                      |  4 ++
tests/domaincapsdata/bhyve_tpm.x86_64.xml     | 69 +++++++++++++++++++
tests/domaincapstest.c                        |  3 +
18 files changed, 359 insertions(+), 4 deletions(-)
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-comma-path.xml
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.args
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.ldargs
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.xml
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-invalid-model.xml
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-multiple-devices.xml
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.args
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.ldargs
create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.xml
create mode 100644 tests/bhyvexml2xmloutdata/x86_64/bhyvexml2xmlout-tpm.xml
create mode 100644 tests/domaincapsdata/bhyve_tpm.x86_64.xml
[PATCH 0/4] bhyve: implement TPM support
Posted by Roman Bogorodskiy 2 weeks, 2 days ago
Roman Bogorodskiy (4):
  bhyve: capabilities: use consistent function names
  bhyve: capabilities: probe TPM support
  bhyve: implement TPM support
  bhyve: domain: validate TPM devices

 src/bhyve/bhyve_capabilities.c                | 29 +++++++-
 src/bhyve/bhyve_capabilities.h                |  1 +
 src/bhyve/bhyve_command.c                     | 27 ++++++++
 src/bhyve/bhyve_domain.c                      | 38 +++++++++-
 .../x86_64/bhyvexml2argv-tpm-comma-path.xml   | 16 +++++
 .../x86_64/bhyvexml2argv-tpm-crb.args         | 12 ++++
 .../x86_64/bhyvexml2argv-tpm-crb.ldargs       |  4 ++
 .../x86_64/bhyvexml2argv-tpm-crb.xml          | 28 ++++++++
 .../bhyvexml2argv-tpm-invalid-model.xml       | 16 +++++
 .../bhyvexml2argv-tpm-multiple-devices.xml    | 21 ++++++
 .../x86_64/bhyvexml2argv-tpm.args             | 12 ++++
 .../x86_64/bhyvexml2argv-tpm.ldargs           |  4 ++
 .../x86_64/bhyvexml2argv-tpm.xml              | 28 ++++++++
 tests/bhyvexml2argvtest.c                     | 10 ++-
 .../x86_64/bhyvexml2xmlout-tpm.xml            | 41 +++++++++++
 tests/bhyvexml2xmltest.c                      |  4 ++
 tests/domaincapsdata/bhyve_tpm.x86_64.xml     | 69 +++++++++++++++++++
 tests/domaincapstest.c                        |  3 +
 18 files changed, 359 insertions(+), 4 deletions(-)
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-comma-path.xml
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.args
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.ldargs
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.xml
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-invalid-model.xml
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-multiple-devices.xml
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.args
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.ldargs
 create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.xml
 create mode 100644 tests/bhyvexml2xmloutdata/x86_64/bhyvexml2xmlout-tpm.xml
 create mode 100644 tests/domaincapsdata/bhyve_tpm.x86_64.xml

-- 
2.55.0
Re: [PATCH 0/4] bhyve: implement TPM support
Posted by Michal Prívozník via Devel 1 week, 2 days ago
On 10/8/26 19:20, Roman Bogorodskiy wrote:
> Roman Bogorodskiy (4):
>   bhyve: capabilities: use consistent function names
>   bhyve: capabilities: probe TPM support
>   bhyve: implement TPM support
>   bhyve: domain: validate TPM devices
> 
>  src/bhyve/bhyve_capabilities.c                | 29 +++++++-
>  src/bhyve/bhyve_capabilities.h                |  1 +
>  src/bhyve/bhyve_command.c                     | 27 ++++++++
>  src/bhyve/bhyve_domain.c                      | 38 +++++++++-
>  .../x86_64/bhyvexml2argv-tpm-comma-path.xml   | 16 +++++
>  .../x86_64/bhyvexml2argv-tpm-crb.args         | 12 ++++
>  .../x86_64/bhyvexml2argv-tpm-crb.ldargs       |  4 ++
>  .../x86_64/bhyvexml2argv-tpm-crb.xml          | 28 ++++++++
>  .../bhyvexml2argv-tpm-invalid-model.xml       | 16 +++++
>  .../bhyvexml2argv-tpm-multiple-devices.xml    | 21 ++++++
>  .../x86_64/bhyvexml2argv-tpm.args             | 12 ++++
>  .../x86_64/bhyvexml2argv-tpm.ldargs           |  4 ++
>  .../x86_64/bhyvexml2argv-tpm.xml              | 28 ++++++++
>  tests/bhyvexml2argvtest.c                     | 10 ++-
>  .../x86_64/bhyvexml2xmlout-tpm.xml            | 41 +++++++++++
>  tests/bhyvexml2xmltest.c                      |  4 ++
>  tests/domaincapsdata/bhyve_tpm.x86_64.xml     | 69 +++++++++++++++++++
>  tests/domaincapstest.c                        |  3 +
>  18 files changed, 359 insertions(+), 4 deletions(-)
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-comma-path.xml
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.args
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.ldargs
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-crb.xml
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-invalid-model.xml
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm-multiple-devices.xml
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.args
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.ldargs
>  create mode 100644 tests/bhyvexml2argvdata/x86_64/bhyvexml2argv-tpm.xml
>  create mode 100644 tests/bhyvexml2xmloutdata/x86_64/bhyvexml2xmlout-tpm.xml
>  create mode 100644 tests/domaincapsdata/bhyve_tpm.x86_64.xml
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal