[libvirt] [PATCH 09/13] Remove direct storage of hostnet_name & vlan
Daniel Veillard
veillard at redhat.com
Tue Feb 2 14:58:19 UTC 2010
On Mon, Feb 01, 2010 at 06:39:38PM +0000, Daniel P. Berrange wrote:
> The current way of assigning names to the host network backend and
> NIC device in QEMU was over complicated, by varying naming scheme
> based on the NIC model and backend type. This simplifies the naming
> to simply be 'net0' and 'hostnet0', allowing code to easily determine
> the host network name and vlan based off the primary device alias
> name 'net0'. This in turn allows removal of alot of QEMU specific
> code from the XML parser, and makes it easier to assign new unique
> names for NICs that are hotplugged
>
ACK, this really simplifies the code, but isn't there a small risk of
not being able to properly handle domains say after a libvirt upgrade
and restart ?
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list