7d9775ba12
- Misc fixes to qemu machine types handling - A couple of XML formatting fixes
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From a44bce591a8d746a4a00c8609cb0111c76271cab Mon Sep 17 00:00:00 2001
|
|
From: Cole Robinson <crobinso@redhat.com>
|
|
Date: Thu, 8 Oct 2009 18:05:36 -0400
|
|
Subject: [PATCH] storage: Fix generating iscsi 'auth' xml
|
|
|
|
We were missing a closing tag, so the XML wasn't proper.
|
|
|
|
(cherry picked from commit 826cbac4591fd5929b497299a90d3a65226b2825)
|
|
|
|
Fedora-patch: libvirt-storage-iscsi-auth-xml-formatting.patch
|
|
---
|
|
src/storage_conf.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/src/storage_conf.c b/src/storage_conf.c
|
|
index 788de15..1633aac 100644
|
|
--- a/src/storage_conf.c
|
|
+++ b/src/storage_conf.c
|
|
@@ -799,7 +799,7 @@ virStoragePoolSourceFormat(virConnectPtr conn,
|
|
|
|
|
|
if (src->authType == VIR_STORAGE_POOL_AUTH_CHAP)
|
|
- virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'>\n",
|
|
+ virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'/>\n",
|
|
src->auth.chap.login,
|
|
src->auth.chap.passwd);
|
|
virBufferAddLit(buf," </source>\n");
|
|
--
|
|
1.6.2.5
|
|
|