On Thu, Oct 11, 2012 at 11:25:02AM -0400, Matthew Booth wrote:
I answered this one separately. I don't recommend doing a full
XSL transformation as we don't need all the data in the file. Cherry picking with
XPath will be sufficient. This is what we do with the libvirt format.
Yes I agree, i give a look into the file you suggested and I'll take inspiration from
there :)
Cheers,
Francesco
Matt
----- Original Message -----
From: "Richard W.M. Jones" <rjones(a)redhat.com>
To: "Francesco Vollero" <fvollero(a)redhat.com>
Cc: libguestfs(a)redhat.com, mbooth(a)redhat.com
Sent: Thursday, 11 October, 2012 4:09:10 PM
Subject: Re: [Libguestfs] v2v vmware converter
[Add Matt to CC list and removing non-existent list]
On Thu, Oct 11, 2012 at 04:57:38PM +0200, Francesco Vollero wrote:
> Hi Matt,
>
> I was taking a look on v2v to implement vSphere and I have few questions:
>
> 1) the converter should be in: Sys::VirtConvert::Converter::VMWare ( or Vsphere) ?
>
> 2) What you think if instead to mess up with the xml converter we gonna use
> a XSL file that take the OVF file and transform it in KVM like xml file ?
What Perl library would you use for the XSL transforms? Adding new
dependencies can be problematic (I'm thinking from a RHEL point of
view specifically, but also in general it adds a burden).
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top