[et-mgmt-tools] [PATCH] Fix lookup pool by path

Andreas Schneider anschneider at suse.de
Tue Dec 2 10:48:00 UTC 2008


On Monday 01 December 2008 16:07:45 Cole Robinson wrote:
> Hmm, so your pool xml lists the target directory with a trailing slash?
> I'm not seeing that. What version of libvirt are you using, and can you
> provide the pools xml?

Hi,

I'm using virt-manager to connect to a remote host, so if I create a pool I 
have to specify the path to the pool manually.

This means you can enter as many trailing slashes as you want. So the 
questions is, should the slashes be stripped during the creation of the pool 
too?

<pool type='dir'>
  <name>tmp</name>
  <uuid>17e0c17a-3cd3-bc20-f1bc-7c9ffaceb255</uuid>
  <capacity>0</capacity>
  <allocation>0</allocation>
  <available>0</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/images/tmp/////</path>
    <permissions>
      <mode>0700</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>

>
> Thanks,
> Cole


Best regards,


	-- andreas

-- 
Andreas Schneider, SUSE Labs, http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20081202/034dc133/attachment.sig>


More information about the et-mgmt-tools mailing list