[libvirt] [PATCH] Adding POWER9 cpu model to cpu_map.xml

Kothapally Madhu Pavan posted 1 patch 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170509090401.8443.73992.stgit@ltcjuno01
src/cpu/cpu_map.xml |    5 +++++
1 file changed, 5 insertions(+)
[libvirt] [PATCH] Adding POWER9 cpu model to cpu_map.xml
Posted by Kothapally Madhu Pavan 6 years, 10 months ago
As POWER9 model is not available in cpu_map.xml virsh capabilities
donot display the cpu model and vendor details. This patch
provides those details
---
 src/cpu/cpu_map.xml |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 7d5540a..29b5b59 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -1571,6 +1571,11 @@
       <pvr value='0x004d0000' mask='0xffff0000'/>
     </model>
 
+    <model name='POWER9'>
+      <vendor name='IBM'/>
+      <pvr value='0x004e0000' mask='0xffff0000'/>
+    </model>
+
     <!-- Freescale-based CPU models -->
     <model name='POWERPC_e5500'>
       <vendor name='Freescale'/>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] Adding POWER9 cpu model to cpu_map.xml
Posted by Andrea Bolognani 6 years, 10 months ago
On Tue, 2017-05-09 at 05:04 -0400, Kothapally Madhu Pavan wrote:
> As POWER9 model is not available in cpu_map.xml virsh capabilities
> donot display the cpu model and vendor details. This patch
> provides those details
> ---
>  src/cpu/cpu_map.xml |    5 +++++
>  1 file changed, 5 insertions(+)

Acked-by: Andrea Bolognani <abologna@redhat.com>


I've pushed this, thanks for your contribution :)

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list