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 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-30 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 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 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 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

[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 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 src/cpu/cpu_map.xml of libvirt to synchronize? eg: commit cad8054ece28("cpu: Add cpu definition for

Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Dou Liyang
At 09/14/2016 11:35 AM, Peter Krempa wrote: On Wed, Sep 14, 2016 at 10:26:51 +0800, Dou Liyang wrote: Hi Peter, At 09/14/2016 12:27 AM, Peter Krempa wrote: Return whether a vcpu entry is hotpluggable or online so that upper layers don't have to infer the information from other

Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Dou Liyang
Hi Peter, At 09/14/2016 12:27 AM, Peter Krempa wrote: Return whether a vcpu entry is hotpluggable or online so that upper layers don't have to infer the information from other data. Advantage is that this code can be tested by unit tests. --- src/qemu/qemu_monitor.c

Re: [libvirt] [PATCH v2 01/23] qemu: monitor: Return structures from qemuMonitorGetCPUInfo

2016-08-22 Thread Dou Liyang
At 08/19/2016 10:38 PM, Peter Krempa wrote: The function will gradually add more returned data. Return a struct for every vCPU containing the data. /** * qemuMonitorGetCPUInfo: * @mon: monitor - * @pids: returned array of thread ids corresponding to the vCPUs + * @cpus: pointer filled by a