[libvirt] [PATCH 2/3] Qemu: add CMT support

2015-07-05 Thread Qiaowei Ren
One RFC in https://www.redhat.com/archives/libvir-list/2015-June/msg01509.html CMT (Cache Monitoring Technology) can be used to measure the usage of cache by VM running on the host. This patch will extend the bulk stats API (virDomainListGetStats) to add this field. Applications based on libvirt

[libvirt] [PATCH 3/3] cmt: add virsh support

2015-07-05 Thread Qiaowei Ren
This patch update domstats command to support CMT feature based on extended bulk stats API virDomainListGetStats. Signed-off-by: Qiaowei Ren qiaowei@intel.com --- tools/virsh-domain-monitor.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/virsh-domain-monitor.c

[libvirt] [PATCH 1/3] cpu_map.xml: add cmt feature to x86

2015-07-05 Thread Qiaowei Ren
Some Intel processor families (e.g. the Intel Xeon processor E5 v3 family) introduced CMT (Cache Monitoring Technology) to measure the usage of cache by applications running on the platform. This patch add it into x86 part of cpu_map.xml. Signed-off-by: Qiaowei Ren qiaowei@intel.com ---

Re: [libvirt] [PATCH 03/10] qemu: Refactor creation of shared memory device commandline

2015-07-05 Thread Martin Kletzander
On Mon, Jul 06, 2015 at 10:23:59AM +0800, lhuang wrote: On 07/03/2015 08:56 PM, Martin Kletzander wrote: On Wed, Jun 17, 2015 at 11:56:14AM +0800, Luyao Huang wrote: Rename qemuBuildShmemDevCmd to qemuBuildShmemDevStr and change the return type so that it can be reused in the device hotplug

Re: [libvirt] [PATCH 02/10] qemu: always build id when generate shared memory device CLI

2015-07-05 Thread lhuang
On 07/03/2015 08:41 PM, Martin Kletzander wrote: On Wed, Jun 17, 2015 at 11:56:13AM +0800, Luyao Huang wrote: When hot-unplug the device, qmp command device_del require a device id. Signed-off-by: Luyao Huang lhu...@redhat.com --- src/qemu/qemu_command.c| 4 ++--

Re: [libvirt] [PATCH 03/10] qemu: Refactor creation of shared memory device commandline

2015-07-05 Thread lhuang
On 07/03/2015 08:56 PM, Martin Kletzander wrote: On Wed, Jun 17, 2015 at 11:56:14AM +0800, Luyao Huang wrote: Rename qemuBuildShmemDevCmd to qemuBuildShmemDevStr and change the return type so that it can be reused in the device hotplug code later. And split the chardev creation part in a new

Re: [libvirt] [PATCH 01/10] qemu: auto assign pci address for shared memory device

2015-07-05 Thread lhuang
On 07/03/2015 08:39 PM, Martin Kletzander wrote: On Wed, Jun 17, 2015 at 11:56:12AM +0800, Luyao Huang wrote: Shared memory device is base on PCI address, even we do not pass the pci address to qemu, qemu will auto assign a pci address for it. Signed-off-by: Luyao Huang lhu...@redhat.com ---