[Libguestfs] Refactor virt-v2v to be more like a 'big script'

Richard W.M. Jones rjones at redhat.com
Tue Jan 5 16:43:14 UTC 2010


On Mon, Dec 21, 2009 at 05:56:52PM +0000, Matthew Booth wrote:
> These patches combine HVSource and HVTarget into a single Converter. This should
> make it more obvious where to hack without losing any practical flexibility.
> 
> GuestOS remains separate. GuestOS is now a misnomer, because it's really only a
> Linux distro abstraction. It will be useless for Windows, for example. Functions
> which you'd expect to be different on a non-RH distro should live in GuestOS.
> By this measure it's currently too fat. I'll gradually move non-distro specific
> things out of it as I touch them.

I think I'd have made it into an actual "big script", like virt-p2v,
but I appreciate that requires a different language, one which is
strongly typed and has compiler support for checking qualified unions
(hmm I wonder which?).

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list