Re: [test-API][PATCH 3/3] Target path should not with lines in pool xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/17/2012 12:06 PM, Wayne Sun wrote:
> The xml for define and create pool is with line switch in target
> path.
> 
> For aa.xml:
> <pool type="netfs">
>   <name>netfs_pool</name>
>   <source>
>     <host name="192.168.0.121"/>
>     <dir path="/dir"/>
>     <format type="nfs"/>
>   </source>
>   <target>
>     <path>
>       /tmp/netfs
>     </path>
>   </target>
> </pool>
> 
> virsh pool-create aa.xml
> error: Failed to create pool from aa.xml
> error: cannot open path '
>         /tmp/netfs
>       ': No such file or directory
> 
> Signed-off-by: Wayne Sun <gsun@xxxxxxxxxx>
> ---
>  repos/storage/xmls/netfs_pool.xml |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/repos/storage/xmls/netfs_pool.xml b/repos/storage/xmls/netfs_pool.xml
> index 309a652..d8b88c2 100644
> --- a/repos/storage/xmls/netfs_pool.xml
> +++ b/repos/storage/xmls/netfs_pool.xml
> @@ -6,8 +6,6 @@
>      <format type="nfs"/>
>    </source>
>    <target>
> -    <path>
> -      TARGETPATH
> -    </path>
> +    <path>TARGETPATH</path>
>    </target>
>  </pool>
> 

ACK, Martin

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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]