[Libguestfs] v2v: -i libvirtxml: Map empty network or bridge name to a default (RHBZ#1257895).

Pino Toscano ptoscano at redhat.com
Fri Aug 28 14:00:34 UTC 2015


In data venerdì 28 agosto 2015 14:19:05, Richard W.M. Jones ha scritto:
> When importing from VMware via the libvirt driver, the libvirt driver
> can add an empty source bridge name:
> 
>     <interface type='bridge'>
>       <mac address='00:01:02:03:04:05:06'/>
>       <source bridge=''/>
>     </interface>
> 
> Replicate what we do on the -i ova path, and map these to "eth0",
> "eth1" etc.

LGTM.

> This also includes a bunch of changes to how we do xpath parsing to
> make it type-safe.

Could patches 2/4/5 be squashed together?

-- 
Pino Toscano




More information about the Libguestfs mailing list