Stefan Berger
8737578d11
conf: Add support for choosing emulation of a TPM 2.0
...
This patch extends the TPM's device XML with TPM 2.0 support. This only works
for the emulator type backend and looks as follows:
<tpm model='tpm-tis'>
<backend type='emulator' version='2.0'/>
</tpm>
The swtpm process now has --tpm2 as an additional parameter:
system_u:system_r:svirt_t:s0:c597,c632 tss 18477 11.8 0.0 28364 3868 ? Rs 11:13 13:50 /usr/bin/swtpm socket --daemon --ctrl type=unixio,path=/var/run/libvirt/qemu/swtpm/testvm-swtpm.sock,mode=0660 --tpmstate dir=/var/lib/libvirt/swtpm/testvm/tpm2,mode=0640 --log file=/var/log/swtpm/libvirt/qemu/testvm-swtpm.log --tpm2 --pid file=/var/run/libvirt/qemu/swtpm/testvm-swtpm.pid
The version of the TPM can be changed and the state of the TPM is preserved.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-06-06 10:48:41 -04:00
..
2012-02-01 16:28:17 -07:00
2017-10-16 10:22:34 +01:00
2016-11-21 13:15:12 +01:00
2012-02-03 15:27:16 -07:00
2018-05-03 12:40:37 +01:00
2016-11-11 12:15:05 +00:00
2016-11-11 09:31:10 +00:00
2018-06-06 10:48:41 -04:00
2006-01-23 22:55:41 +00:00
2017-10-16 10:22:34 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-10-16 10:22:34 +01:00
2018-05-03 12:40:37 +01:00
2018-03-20 12:13:36 +00:00
2017-08-02 17:00:11 +01:00
2017-12-07 09:21:04 +00:00
2011-10-28 10:11:16 +01:00
2005-12-21 16:59:34 +00:00
2018-04-09 11:38:47 -06:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-03-23 12:59:56 +01:00
2017-08-02 17:00:11 +01:00
2018-04-09 11:38:47 -06:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2018-03-21 14:48:01 +00:00
2018-03-23 12:59:56 +01:00
2018-03-21 14:48:01 +00:00
2018-03-23 12:59:56 +01:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2018-05-13 13:38:47 +04:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2018-05-14 12:27:47 -04:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-04-01 17:42:29 +02:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-11-07 17:50:15 -05:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-04-12 16:52:01 +01:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-06-06 10:48:41 -04:00
2018-05-25 08:15:58 -04:00
2017-08-02 17:00:11 +01:00
2017-09-18 08:32:24 -04:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-06-05 08:14:00 +02:00
2017-09-19 16:04:53 +02:00
2016-11-21 14:04:05 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-03-21 14:48:01 +00:00
2017-11-15 13:52:13 +01:00
2018-04-12 16:52:02 +01:00
2018-04-17 09:44:12 +02:00
2018-03-20 12:13:35 +00:00
2017-08-02 17:00:11 +01:00
2018-03-21 14:48:01 +00:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2016-11-11 12:15:06 +00:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2017-08-02 17:00:11 +01:00
2018-04-01 17:42:29 +02:00
2017-08-07 14:44:40 +01:00
2017-11-03 13:24:12 +01:00
2017-08-02 15:00:28 -04:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2017-12-08 15:50:52 +01:00
2017-08-07 14:44:40 +01:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-01-10 19:37:53 +01:00
2017-10-16 10:22:34 +01:00
2017-04-05 09:51:51 +02:00
2018-06-05 09:11:29 +02:00
2011-10-28 10:11:16 +01:00
2006-01-23 13:24:07 +00:00
2017-08-02 17:00:11 +01:00
2018-02-19 17:32:20 +01:00
2018-02-28 17:51:03 +00:00
2018-03-21 14:48:01 +00:00
2018-04-09 15:15:03 +01:00
2017-08-02 17:00:11 +01:00
2018-03-19 11:22:02 +01:00
2018-04-12 16:52:01 +01:00
2017-10-18 13:25:10 +02:00
2017-08-02 17:00:11 +01:00
2017-08-02 17:00:11 +01:00
2018-03-16 17:05:56 +00:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2011-10-28 10:11:16 +01:00
2017-08-02 17:00:11 +01:00
2018-05-03 12:40:37 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2018-04-12 16:52:01 +01:00
2018-03-21 14:48:01 +00:00
2018-04-09 11:38:47 -06:00
2010-11-12 19:47:20 +01:00