libvirt/libvirt-power8-models.patch

38 lines
1.2 KiB
Diff
Raw Normal View History

Add POWER8 v2.0 and v2.1 to cpu map XML
From: <ro@suse.de>
Index: libvirt-2.3.0/src/cpu/cpu_map.xml
===================================================================
--- libvirt-2.3.0.orig/src/cpu/cpu_map.xml
+++ libvirt-2.3.0/src/cpu/cpu_map.xml
@@ -1542,6 +1542,16 @@
<pvr value='0x004d0000' mask='0xffff0000'/>
</model>
+ <model name='POWER8_v2.0'>
+ <vendor name='IBM'/>
+ <pvr value='0x004b0200' mask='0xffffffff'/>
+ </model>
+
+ <model name='POWER8_v2.1'>
+ <vendor name='IBM'/>
+ <pvr value='0x004b0201' mask='0xffffffff'/>
+ </model>
+
<!-- Freescale-based CPU models -->
<model name='POWERPC_e5500'>
<vendor name='Freescale'/>
Index: libvirt-2.3.0/tests/domaincapsschemadata/qemu_2.6.0.ppc64le.xml
===================================================================
--- libvirt-2.3.0.orig/tests/domaincapsschemadata/qemu_2.6.0.ppc64le.xml
+++ libvirt-2.3.0/tests/domaincapsschemadata/qemu_2.6.0.ppc64le.xml
@@ -26,6 +26,7 @@
<mode name='custom' supported='yes'>
<model usable='unknown'>POWER8</model>
<model usable='unknown'>POWER7</model>
+ <model usable='unknown'>POWER8_v2.0</model>
</mode>
</cpu>
<devices>