conf: domain: Fix tpm <encryption> comment

Message ID 267699a03cc38810dcd40f4ddbf864bd0dc29d4e.1567618816.git.crobinso@redhat.com
State Accepted
Commit 267699a03cc38810dcd40f4ddbf864bd0dc29d4e
Headers show
Series
  • conf: domain: Fix tpm <encryption> comment
Related show

Commit Message

Cole Robinson Sept. 4, 2019, 5:40 p.m.
The attribute is named 'secret', not 'uuid'

Signed-off-by: Cole Robinson <crobinso@redhat.com>

---
Pushed as trivial

 src/conf/domain_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Patch

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index b7a342bb91..6c429cd593 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -13064,7 +13064,7 @@  virDomainSmartcardDefParseXML(virDomainXMLOptionPtr xmlopt,
  *
  * <tpm model='tpm-tis'>
  *   <backend type='emulator' version='2.0'>
- *     <encryption uuid='32ee7e76-2178-47a1-ab7b-269e6e348015'/>
+ *     <encryption secret='32ee7e76-2178-47a1-ab7b-269e6e348015'/>
  *   </backend>
  * </tpm>
  */