[libvirt] [PATCH] openvz: swap <source bridge=...> with <target dev=...>

Anton Protopopov aspsk2 at gmail.com
Tue Sep 30 13:57:20 UTC 2008

> Possibly, though its not terribly consistent so far.
> Xen  - vifNNN.MMM   (NNN dom ID, MMM = nic number)
> QEMU - vnetNNN      (NNN = global host nic number)
> LXC  - vethNNN      (MMM = global host nic number)

And how these drivers choose NNN? Do QEMU driver and LXC driver use the same

> We can't change the format Xen uses, but it could be desirable to make
> LXC, QEMU and OpenVZ all use  vnetNNN scheme by default for auto assigned
> nics names on the host side.

Now openvz driver chooses not interface name in host, but interface name in
(If you specify contaner-ifname, say, vnet4, you get host-ifname
So first we need to decide: is container-ifname derivative from host-ifname
or vice versa :)

> Daniel
> --
> |: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/:|
> |: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/<http://search.cpan.org/%7Edanberr/>:|
> |: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
> :|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080930/764d63b7/attachment-0001.htm>

More information about the libvir-list mailing list