]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: code comment fix for TPM version
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 9 Aug 2019 12:23:48 +0000 (16:23 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 9 Aug 2019 12:37:16 +0000 (14:37 +0200)
Since its introduction in commit
8737578d115b8328f59f3342377b0c7ac06f658a, the TPM version format is
"2.0" and not "2".

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c

index a3b3e5938d9215cd6b7192bb8bb3b83702d6ae93..e7a41f5d91a578985be6f8dbfa07ec55fc328a90 100644 (file)
@@ -13058,13 +13058,13 @@ virDomainSmartcardDefParseXML(virDomainXMLOptionPtr xmlopt,
  * or like this:
  *
  * <tpm model='tpm-tis'>
- *   <backend type='emulator' version='2'/>
+ *   <backend type='emulator' version='2.0'/>
  * </tpm>
  *
  * Emulator state encryption is supported with the following:
  *
  * <tpm model='tpm-tis'>
- *   <backend type='emulator' version='2'>
+ *   <backend type='emulator' version='2.0'>
  *     <encryption uuid='32ee7e76-2178-47a1-ab7b-269e6e348015'/>
  *   </backend>
  * </tpm>