Re: [PATCH v3 1/2] tpm: convert tpmdev options processing to new visitor format

2022-12-21 Thread James Bottomley
On Wed, 2022-12-21 at 16:32 +, Daniel P. Berrangé wrote: > This isn't a valid change todo, as it affects the public facing > data structure for the  query-tpm command. > > I understand why you're doing it though, to get rid fo the > extra nesting, which is a hangover from earlier QAPI days > w

Re: [PATCH v3 1/2] tpm: convert tpmdev options processing to new visitor format

2022-12-21 Thread Daniel P . Berrangé
On Mon, Dec 19, 2022 at 08:13:43AM -0500, James Bottomley wrote: > From: James Bottomley > > Instead of processing the tpmdev options using the old qemu options, > convert to the new visitor format which also allows the passing of > json on the command line. > > Signed-off-by: James Bottomley >

[PATCH v3 1/2] tpm: convert tpmdev options processing to new visitor format

2022-12-19 Thread James Bottomley
From: James Bottomley Instead of processing the tpmdev options using the old qemu options, convert to the new visitor format which also allows the passing of json on the command line. Signed-off-by: James Bottomley --- backends/tpm/tpm_emulator.c| 35 ++--- backends/tpm/tpm_passthr