[Libguestfs] Virtualbox vdi Input Format and man pages

Richard W.M. Jones rjones at redhat.com
Sun Oct 8 20:40:03 UTC 2017


On Sun, Oct 08, 2017 at 02:16:43PM -0600, stef204 wrote:
> 
> 
> 08.10.2017, 13:50, "Richard W.M. Jones" <rjones at redhat.com>:
> > [stef204 sent me the full log since it contains sensitive information]
> >
> > The log says that virt-v2v cannot see anything at all on the 34.1 GB
> > disk (as if the disk is blank). However I think the actual problem is
> > that you've given the wrong disk type in the XML:
> >
> >      <disk type='file' device='disk'>
> >        <driver name='qemu' type='raw'/>
> >                                  ^^^
> >        <source file='xxx.vdi'/>
> >        <target dev='hda' bus='ide'/>
> >      </disk>
> >
> > ‘.vdi’ is probably not raw format but something else (most likely 'vdi')
> >
> > According to ‘qemu-img --help’, qemu supports the vdi format,
> > hopefully at least enough to be able to read it which is all that
> > virt-v2v needs.
> >
> 
> OK, so to fix, just change this line--like this?
> 
>    <driver name='qemu' type='vdi'/>

I think so, yes.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list