mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fix output of XML for FS storage pool
This commit is contained in:
parent
b7909d3276
commit
924de9c3d1
@ -1,3 +1,8 @@
|
|||||||
|
Fri Mar 27 13:55:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/storage_conf.c: Fix XML output tag for FS storage pools
|
||||||
|
directory path
|
||||||
|
|
||||||
Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
|
Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/iptables.c: Ensure masquering rule only catches traffic
|
* src/iptables.c: Ensure masquering rule only catches traffic
|
||||||
|
@ -479,7 +479,7 @@ virStoragePoolDefFormat(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_DIR) &&
|
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_DIR) &&
|
||||||
def->source.dir &&
|
def->source.dir &&
|
||||||
virBufferVSprintf(buf," <directory path='%s'/>\n", def->source.dir) < 0)
|
virBufferVSprintf(buf," <dir path='%s'/>\n", def->source.dir) < 0)
|
||||||
goto no_memory;
|
goto no_memory;
|
||||||
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_ADAPTER) &&
|
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_ADAPTER) &&
|
||||||
def->source.adapter &&
|
def->source.adapter &&
|
||||||
|
Loading…
Reference in New Issue
Block a user