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

Daniel P. Berrange berrange at redhat.com
Tue Dec 11 14:53:35 UTC 2012


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.




More information about the libvir-list mailing list