]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
cpu_arm: Support all ARM processors we know about
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Jun 2014 13:27:17 +0000 (15:27 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 20 Jun 2014 13:59:12 +0000 (15:59 +0200)
So far three ARM processor families are known to libvirt,
however the cpu driver knows only about one of them. This
make host initialization on the other two fail:

2014-06-17 13:35:41.419+0000: 6840: info : libvirt version: 1.2.6
2014-06-17 13:35:41.419+0000: 6840: error : cpuNodeData:342 : this function is not supported by the connection driver: cannot get node CPU data for armv6l architecture
2014-06-17 13:35:41.433+0000: 6840: warning : virQEMUCapsInit:943 : Failed to get host CPU

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu/cpu_arm.c

index 53bf4f499e834020d15e0aae74b3f614db47316f..39e8f128938c0071f6b2e86ac304da8b515fe665 100644 (file)
@@ -30,7 +30,9 @@
 
 #define VIR_FROM_THIS VIR_FROM_CPU
 
-static const virArch archs[] = { VIR_ARCH_ARMV7L };
+static const virArch archs[] = {VIR_ARCH_ARMV6L,
+                                VIR_ARCH_ARMV7B,
+                                VIR_ARCH_ARMV7L};
 
 static virCPUDataPtr
 ArmNodeData(virArch arch)