]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Fix loading PowerPC vendor from cpu_map.xml
authorJiri Denemark <jdenemar@redhat.com>
Tue, 18 Dec 2012 23:06:45 +0000 (00:06 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Apr 2013 12:33:16 +0000 (14:33 +0200)
commitba8ba2471135c73013cc370fa5e85da577141056
tree72e972e86138993c183b39c5bd3a7a522c867f7f
parent70349cb90ddbe1e342b4e72560d6b130a17fac47
cpu: Fix loading PowerPC vendor from cpu_map.xml

When ppcVendorLoad fails to parse the vendor element for whatever
reason, it is supposed to ignore it and return 0 rather than -1. The
patch also removes PowerPC vendor string from the XML as it is not
actually used for anything.
src/cpu/cpu_map.xml
src/cpu/cpu_powerpc.c