Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-17 Thread Richard W.M. Jones
On Thu, Sep 17, 2015 at 10:28:02AM +0200, Matthias Bolte wrote: > 2015-09-16 10:47 GMT+02:00 Richard W.M. Jones : > > On Fri, Sep 11, 2015 at 03:55:03PM +0200, Matthias Bolte wrote: > >> 2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : > >> > On Mon, Sep 07,

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-17 Thread Daniel P. Berrange
On Fri, Sep 11, 2015 at 03:55:03PM +0200, Matthias Bolte wrote: > 2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : > > On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: > >> I think the datacenter path could be exposed > >> as part of the domain XML as > >>

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-17 Thread Matthias Bolte
2015-09-16 10:47 GMT+02:00 Richard W.M. Jones : > On Fri, Sep 11, 2015 at 03:55:03PM +0200, Matthias Bolte wrote: >> 2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : >> > On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: >> >> I think the

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-16 Thread Richard W.M. Jones
On Fri, Sep 11, 2015 at 03:55:03PM +0200, Matthias Bolte wrote: > 2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : > > On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: > >> I think the datacenter path could be exposed > >> as part of the domain XML as > >>

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-11 Thread Matthias Bolte
2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : > On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: >> I think the datacenter path could be exposed >> as part of the domain XML as >> /path/to/dc similar to >> the way works. But it would be ignored on parsing. >>

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-11 Thread Richard W.M. Jones
On Fri, Sep 11, 2015 at 03:55:03PM +0200, Matthias Bolte wrote: > 2015-09-07 22:04 GMT+02:00 Richard W.M. Jones : > > On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: > >> I think the datacenter path could be exposed > >> as part of the domain XML as > >>

[libvirt] VMware: Map vpx:// to dcPath

2015-09-07 Thread Richard W.M. Jones
vpx:// paths looks like this: vpx://vcenter.example.com/MyFolder/MyDatacenter/MyCluster/esxi but to connect to the datastore to read the underlying disk image, libguestfs must form a URL like this:

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-07 Thread Richard W.M. Jones
On Mon, Sep 07, 2015 at 02:29:22PM +0200, Matthias Bolte wrote: > It's even more complex than that, you can have another level of > folders in there. The path can have this format for a vpx:// URI: > > [/...]/[/...][/] > > IIRC datacenter and computeresource name cannot contain slashes. At >

Re: [libvirt] VMware: Map vpx:// to dcPath

2015-09-07 Thread Matthias Bolte
2015-09-07 12:18 GMT+02:00 Richard W.M. Jones : > > vpx:// paths looks like this: > > vpx://vcenter.example.com/MyFolder/MyDatacenter/MyCluster/esxi > > but to connect to the datastore to read the underlying disk image, > libguestfs must form a URL like this: > > >