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

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

[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

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 data

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

[libvirt] [PATCH] virsh: Make secret's usage can be modified if the usage isn't used

2014-04-13 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com When a secret's usage is specified, for example: secret ephemeral='no' private='no' uuid540c56d1-f4b3-5031-b76d-33e99e9b5c64/uuid usage type='volume' volume/tmp/test/volume /usage /secret If another volume '/tmp/test1' isn't used, the current

[libvirt] [PATCH] virsh: Add a white line into secret-get-value output

2014-04-11 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com Commonly there is a whilt line at the end of the virsh command output, for example: [root@localhost /]# virsh list --name --all virt-tests-vm1 [root@localhost /]# For now the output of secret-get-value like this: [root@localhost /]# virsh

[libvirt] [PATCH] virsh: Fix help info of net-event and event command

2014-04-04 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com For now the help informatin of net-event and event like this: [root@localhost qemu]# virsh help net-event NAME net-event - (null) ... [root@localhost qemu]# virsh help event NAME event - (null) ... Now fixed them, make them show correct

[libvirt] [PATCH] virsh: Fix comment of vshCmdInfo

2014-04-04 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com The original comment of vshCmdInfo: name - command name Actually it's 'help' and the short description of command, not the command name. Signed-off-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh.h |2 +- 1 files changed, 1 insertions(+), 1

[libvirt] [PATCH] virsh: Make 'exit' action same as 'quit'

2014-04-02 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com For now 'virsh quit' action like this: [root@localhost /]# virsh quit [root@localhost /]# And 'virsh exit' action: [root@localhost /]# virsh exit

Re: [libvirt] [PATCHv2 1/2] virsh: move command cpu-baseline from domain group to host group.

2013-11-03 Thread liyang
On 2013-10-16 10:23, liyang wrote: From: Li Yangliyang.f...@cn.fujitsu.com cpu-baseline command can compute baseline CPU for a set of given CPUs, I think it should not belong to domain group, should belong to host group, so I moved the related source from virsh-domain.c to virsh-host.c Signed

Re: [libvirt] [PATCHv2 1/2] virsh: move command cpu-baseline from domain group to host group.

2013-10-17 Thread liyang
On 2013-10-16 10:23, liyang wrote: Signed-off-by: Li Yangliyang.f...@cn.fujitsu.com --- tools/virsh-domain.c | 116 - tools/virsh-host.c | 117 ++ 2 files changed, 117 insertions(+), 116

[libvirt] [PATCH] virsh: move command cpu-baseline from domain group to host group.

2013-10-15 Thread liyang
cpu-baseline command can compute baseline CPU for a set of given CPUs, I think it should not belong to domain group, but now it belongs to host group, so I moved the related source from virsh-domain.c to virsh-host.c Signed-off-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh-domain.c |

Re: [libvirt] [PATCH] virsh: move command cpu-baseline from domain group to host group.

2013-10-15 Thread liyang
Thanks for reminding me, I will use send-email to send this patch soon. On 2013-10-15 17:10, Peter Krempa wrote: On 10/15/13 08:02, liyang wrote: cpu-baseline command can compute baseline CPU for a set of given CPUs, I think it should not belong to domain group, but now it belongs to host

Re: [libvirt] [PATCH] virsh: move command cpu-baseline from domain group to host group.

2013-10-15 Thread liyang
On 2013-10-15 17:54, Daniel P. Berrange wrote: On Tue, Oct 15, 2013 at 11:52:09AM +0200, Peter Krempa wrote: On 10/15/13 11:44, Daniel P. Berrange wrote: On Tue, Oct 15, 2013 at 02:02:42PM +0800, liyang wrote: cpu-baseline command can compute baseline CPU for a set of given CPUs, I think

[libvirt] [PATCHv2 2/2] virsh: move command cpu-compare from domain group to host group.

2013-10-15 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com cpu-compare command can compare host CPU with a CPU described by an XML file, I think it should belong to host group, so I moved the related source from virsh-domain.c to virsh-host.c Signed-off-by: Li Yang liyang.f...@cn.fujitsu.com ---

[libvirt] [PATCHv2 1/2] virsh: move command cpu-baseline from domain group to host group.

2013-10-15 Thread liyang
From: Li Yang liyang.f...@cn.fujitsu.com cpu-baseline command can compute baseline CPU for a set of given CPUs, I think it should not belong to domain group, should belong to host group, so I moved the related source from virsh-domain.c to virsh-host.c Signed-off-by: Li Yang

[libvirt] About 'virsh update-device' for floppy and cdrom

2013-09-20 Thread liyang
befroe udpate-device, floppy device can be updated. Steps like this: ---Start # virsh start virt-tests-vm1 Domain virt-tests-vm1 started # cat /add_storage/liyang/github-autotest_new/client/tests/virt/tmp/tmp/update_iso.xml disk type