[PATCH 0/2] qemu: support logging config for swtpm

Daniel P. Berrangé posted 2 patches 3 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20240704114739.2873761-1-berrange@redhat.com
docs/formatdomain.rst                       | 6 ++++--
src/conf/domain_conf.c                      | 7 +++++++
src/conf/domain_conf.h                      | 1 +
src/conf/schemas/domaincommon.rng           | 5 +++++
src/qemu/qemu_tpm.c                         | 6 +++++-
tests/qemuxmlconfdata/tpm-emulator-tpm2.xml | 2 +-
6 files changed, 23 insertions(+), 4 deletions(-)
[PATCH 0/2] qemu: support logging config for swtpm
Posted by Daniel P. Berrangé 3 months, 2 weeks ago
When debugging guest problems with TPMs it is helpful to be able to
have full swtpm logging. This isn't possible currently and manually
restarting the swtpm process of a running guest is disruptive.

Daniel P. Berrangé (2):
  conf: add support for 'debug' parameter on TPM emulator
  qemu: set swtpm log level parameter

 docs/formatdomain.rst                       | 6 ++++--
 src/conf/domain_conf.c                      | 7 +++++++
 src/conf/domain_conf.h                      | 1 +
 src/conf/schemas/domaincommon.rng           | 5 +++++
 src/qemu/qemu_tpm.c                         | 6 +++++-
 tests/qemuxmlconfdata/tpm-emulator-tpm2.xml | 2 +-
 6 files changed, 23 insertions(+), 4 deletions(-)

-- 
2.45.1
Re: [PATCH 0/2] qemu: support logging config for swtpm
Posted by Michal Prívozník 3 months, 2 weeks ago
On 7/4/24 13:47, Daniel P. Berrangé wrote:
> When debugging guest problems with TPMs it is helpful to be able to
> have full swtpm logging. This isn't possible currently and manually
> restarting the swtpm process of a running guest is disruptive.
> 
> Daniel P. Berrangé (2):
>   conf: add support for 'debug' parameter on TPM emulator
>   qemu: set swtpm log level parameter
> 
>  docs/formatdomain.rst                       | 6 ++++--
>  src/conf/domain_conf.c                      | 7 +++++++
>  src/conf/domain_conf.h                      | 1 +
>  src/conf/schemas/domaincommon.rng           | 5 +++++
>  src/qemu/qemu_tpm.c                         | 6 +++++-
>  tests/qemuxmlconfdata/tpm-emulator-tpm2.xml | 2 +-
>  6 files changed, 23 insertions(+), 4 deletions(-)
> 

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

Michal