Re: [PATCH v3 5/5] tpm: Return QMP error when TPM is disabled in build

2021-06-15 Thread Markus Armbruster
Stefan Berger writes: > On 6/14/21 4:12 PM, Philippe Mathieu-Daudé wrote: >> >> G I forgot to commit: >> >> -- >8 -- >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 7d9cd290426..636bf2f5365 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -2707,7 +2707,6 @@ TPM >> M: Stefan Berger

Re: [PATCH v3 5/5] tpm: Return QMP error when TPM is disabled in build

2021-06-15 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > When the management layer queries a binary built using --disable-tpm > for TPM devices, it gets confused by getting empty responses: > > { "execute": "query-tpm" } > { > "return": [ > ] > } > { "execute": "query-tpm-types" } > { > "retu

Re: [PATCH v3 5/5] tpm: Return QMP error when TPM is disabled in build

2021-06-14 Thread Stefan Berger
On 6/14/21 4:12 PM, Philippe Mathieu-Daudé wrote: G I forgot to commit: -- >8 -- diff --git a/MAINTAINERS b/MAINTAINERS index 7d9cd290426..636bf2f5365 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2707,7 +2707,6 @@ TPM M: Stefan Berger S: Maintained F: tpm.c -F: stubs/tpm.c F: h

[PATCH v3 5/5] tpm: Return QMP error when TPM is disabled in build

2021-06-14 Thread Philippe Mathieu-Daudé
When the management layer queries a binary built using --disable-tpm for TPM devices, it gets confused by getting empty responses: { "execute": "query-tpm" } { "return": [ ] } { "execute": "query-tpm-types" } { "return": [ ] } { "execute": "query-tpm-models" }

Re: [PATCH v3 5/5] tpm: Return QMP error when TPM is disabled in build

2021-06-14 Thread Philippe Mathieu-Daudé
On 6/14/21 10:09 PM, Philippe Mathieu-Daudé wrote: > When the management layer queries a binary built using --disable-tpm > for TPM devices, it gets confused by getting empty responses: > > { "execute": "query-tpm" } > { > "return": [ > ] > } > { "execute": "query-tpm-types" }