Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-31 Thread Jiri Denemark
On Wed, May 30, 2018 at 12:55:19 -0300, Eduardo Habkost wrote: > The main question that I'm still unable to answer is: when > cpu_map.xml is still used? Does it affect libvirt behavior in > any way when using a recent QEMU version? Yes, it is still used. Mainly for reporting host CPU

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-31 Thread Dou Liyang
Hi Jirka, At 05/30/2018 10:18 PM, Jiri Denemark wrote: On Wed, May 30, 2018 at 21:11:35 +0800, Dou Liyang wrote: Hi Peter, Thank you for reply. At 05/30/2018 08:00 PM, Peter Krempa wrote: [re-adding libvir-list] On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote: Hi Peter, Sorry

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-31 Thread Dou Liyang
Hi Eduardo, At 05/30/2018 11:55 PM, Eduardo Habkost wrote: CCing Jiri Denemark, who maintains the CPU code in libvirt. Thanks, Jirka. he has already given me a detailed explanation. ;-) On Wed, May 30, 2018 at 06:00:56PM +0800, Dou Liyang wrote: Hi All, I am not sure about the update

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Eduardo Habkost
CCing Jiri Denemark, who maintains the CPU code in libvirt. On Wed, May 30, 2018 at 06:00:56PM +0800, Dou Liyang wrote: > Hi All, > > I am not sure about the update strategy of CPU models in libvirt. > > IMO, It's depend on the CPU model in qemu-kvm, if some CPU models > were updated in

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Jiri Denemark
On Wed, May 30, 2018 at 21:11:35 +0800, Dou Liyang wrote: > Hi Peter, > > Thank you for reply. > > At 05/30/2018 08:00 PM, Peter Krempa wrote: > > > > [re-adding libvir-list] > > > > On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote: > >> Hi Peter, > >> > >> Sorry to trouble you

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Dou Liyang
At 05/30/2018 08:11 PM, Jiri Denemark wrote: On Wed, May 30, 2018 at 19:25:53 +0800, Dou Liyang wrote: Hi Jiri, At 05/30/2018 07:08 PM, Jiri Denemark wrote: On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote: Hi Jiri, At 05/30/2018 06:14 PM, Jiri Denemark wrote: [Dropping random

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Dou Liyang
Hi Peter, Thank you for reply. At 05/30/2018 08:00 PM, Peter Krempa wrote: [re-adding libvir-list] On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote: Hi Peter, Sorry to trouble you offline. Please keep conversations on the list, so that it does not get lost in private inboxes.

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Jiri Denemark
On Wed, May 30, 2018 at 19:25:53 +0800, Dou Liyang wrote: > Hi Jiri, > > At 05/30/2018 07:08 PM, Jiri Denemark wrote: > > On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote: > >> Hi Jiri, > >> > >> At 05/30/2018 06:14 PM, Jiri Denemark wrote: > >>> [Dropping random people from Cc] > >>> >

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Peter Krempa
[re-adding libvir-list] On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote: > Hi Peter, > > Sorry to trouble you offline. Please keep conversations on the list, so that it does not get lost in private inboxes. > Recently, I forced on the PCID feature in CPU and > found the SandyBridge

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Dou Liyang
Hi Jiri, At 05/30/2018 07:08 PM, Jiri Denemark wrote: On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote: Hi Jiri, At 05/30/2018 06:14 PM, Jiri Denemark wrote: [Dropping random people from Cc] On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote: Hi All, I am not sure about the

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Jiri Denemark
On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote: > Hi Jiri, > > At 05/30/2018 06:14 PM, Jiri Denemark wrote: > > [Dropping random people from Cc] > > > > On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote: > >> Hi All, > >> > >> I am not sure about the update strategy of CPU

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Dou Liyang
Hi Jiri, At 05/30/2018 06:14 PM, Jiri Denemark wrote: [Dropping random people from Cc] On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote: Hi All, I am not sure about the update strategy of CPU models in libvirt. IMO, It's depend on the CPU model in qemu-kvm, if some CPU models were

Re: [libvirt] What is the strategy to update the CPU Models in src/cpu/cpu_map.xml based on?

2018-05-30 Thread Jiri Denemark
[Dropping random people from Cc] On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote: > Hi All, > > I am not sure about the update strategy of CPU models in libvirt. > > IMO, It's depend on the CPU model in qemu-kvm, if some CPU models > were updated in qemu-kvm. Then, we should modify the