Re: [libvirt] [PATCH] [RFC] Use enum of virDomainNetType

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 25, 2010 at 02:50:50PM -0400, Stefan Berger wrote:
> To find out where the net type 'direct' needs to be handled I introduced
> the 'enum virDomainNetType' in the virDomainNetDef structure and let the
> compiler tell me where the case statement is missing. Then I added the
> unhandled device statement to the UML driver.
> 
> Signed-off-by; Stefan Berger <stefanb@xxxxxxxxxx>

  yeah, it's a generally useful technique, fine as long as the enum
doesn't end up in public structure where we need to preserve ABI it's
fine,

  pushed, thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]