[et-mgmt-tools] [PATCH] convert vmware machines to virt-image xml format

Bryan Kearney bkearney at redhat.com
Tue Jul 1 11:01:33 UTC 2008


Daniel P. Berrange wrote:
> On Tue, Jul 01, 2008 at 04:48:47AM +0100, John Levon wrote:
>> On Mon, Jun 30, 2008 at 08:14:55PM -0700, David Lutterkort wrote:
>>
>>>>> --- virtinst--devel.orig/virt-unpack	1969-12-31 19:00:00.000000000 -0500
>>>>> +++ virtinst--devel/virt-unpack	2008-06-26 10:30:45.000000000 -0400
>>>> Why isn't this called virt-convert? I don't see any actually "unpacking"
>>>> going on here.
>>>  
>>> Calling it virt-pack is more a historical accident. I think renaming it
>>> to virt-convert makes sense. It'll require some small changes in the
>>> command line switches though, so you cna say from what format and to
>>> what format you want to convert.
>> Indeed. I have some comments on that too. What I'd like to see is
>> something like the logic below. I may even be sending patches to do
>> this, if I can get some consensus.
>>
>> virt-convert [-i ifmt] -o ofmt input [output]
> 
> [snip rest of example]
> 
> 
> I think this makes alot of sense - it is definitely important to have the 
> command line syntax support multiple formats, even if we've only got an
> impl for vmware so far.
> 
> Daniel

Will the sniffing work for anything but vmware files? I rather it be 
explicit in all cases unless we can infer them all.

-- bk




More information about the et-mgmt-tools mailing list