Re: [libvirt] [PATCH v3 10/14] qemu: Add support for external swtpm TPM emulator

2018-05-10 Thread John Ferlan
[...] >>> virCommandPtr cmd, >>> virQEMUCapsPtr qemuCaps, >>> int *tpmfd, >>> -   int *cancelfd) >>> +   int *cancelfd, >>> +   char **chardev) >>>   { >>> -   

Re: [libvirt] [PATCH v3 10/14] qemu: Add support for external swtpm TPM emulator

2018-05-09 Thread Stefan Berger
On 05/08/2018 05:07 PM, John Ferlan wrote: On 05/04/2018 04:21 PM, Stefan Berger wrote: This patch adds support for an external swtpm TPM emulator. The XML for this type of TPM looks as follows: The XML will currently only start a TPM 1.2. Upon first start, libvirt will run

Re: [libvirt] [PATCH v3 10/14] qemu: Add support for external swtpm TPM emulator

2018-05-08 Thread John Ferlan
On 05/04/2018 04:21 PM, Stefan Berger wrote: > This patch adds support for an external swtpm TPM emulator. The XML for > this type of TPM looks as follows: > > > > > > The XML will currently only start a TPM 1.2. > > Upon first start, libvirt will run `swtpm_setup`, which will

[libvirt] [PATCH v3 10/14] qemu: Add support for external swtpm TPM emulator

2018-05-04 Thread Stefan Berger
This patch adds support for an external swtpm TPM emulator. The XML for this type of TPM looks as follows: The XML will currently only start a TPM 1.2. Upon first start, libvirt will run `swtpm_setup`, which will simulate the manufacturing of a TPM and create certificates for it and