[libvirt] [PATCH 0/6] Use enum for tracking valid architectures

Daniel Veillard veillard at redhat.com
Tue Dec 11 15:36:35 UTC 2012


On Tue, Dec 11, 2012 at 02:53:35PM +0000, Daniel P. Berrange wrote:
> Different operating systems have different names for architectures.
> eg x86_64 x64, amd64. This can cause inconsistency in libvirt code
> dealing with architectures. To deal with this define an enum for
> valid architectures and a canonical string mapping. Update all
> code internally to use the enum instead of 'char *' for arch
> data.

  Sounds a good idea but a bit late for 1.0.1

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list