Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Christophe Fergeau
On Tue, Feb 14, 2012 at 02:10:37PM -0700, Eric Blake wrote: Meta-question - if the XML requests secure, but TLS is disabled, should we instead be failing to start the domain with a complaint that we can't honor the XML? Meta-non-answer, when a TLS port is set but TLS is disabled in the config

[libvirt] [PATCH] qemu: Prevent crash of libvirtd without guest agent

2012-02-15 Thread ajia
From: Alex Jia a...@redhat.com * src/qemu/qemu_process.c (qemuFindAgentConfig): avoid crash libvirtd due to deref a NULL pointer. * How to reproduce? 1. virsh edit the following xml into guest configuration: channel type='pty' target type='virtio'/ address type='virtio-serial'

Re: [libvirt] [PATCH] daemon: plug memory leak

2012-02-15 Thread Michal Privoznik
On 14.02.2012 23:52, Eric Blake wrote: Leak introduced in commit bb2eddc6. * daemon/remote.c (remoteDispatchAuthPolkit): Also free pkout on success. --- daemon/remote.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) ACK -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH] snapshot: fix snapshot deletion

2012-02-15 Thread Michal Privoznik
On 14.02.2012 21:48, Eric Blake wrote: Bug introduced in commit 35abced. On an inactive domain, $ virsh snapshot-create-as dom snap $ virsh snapshot-create dom $ virsh snapshot-create dom $ virsh snapshot-delete --children dom snap could crash libvirtd, due to a use-after-free that results

Re: [libvirt] RFC: Post-install behavior of libvirt(-client)

2012-02-15 Thread Daniel P. Berrange
On Tue, Feb 14, 2012 at 03:17:40PM -0700, Eric Blake wrote: On 02/14/2012 01:37 AM, Martin Kletzander wrote: Hello everyone, I have a small bug #786770 [1] assigned and I discussed this with few people from our team but I'm still not sure what should be the proper fix for this bug.

Re: [libvirt] [PATCH 0/2 v3] Implement DomainPMSuspendForDuration for qemu

2012-02-15 Thread Michal Privoznik
On 14.02.2012 17:45, Michal Privoznik wrote: This is basically v3 for: https://www.redhat.com/archives/libvir-list/2012-February/msg00533.html This time, I've split it into 2 patches so it can be reviewed easier. Michal Privoznik (2): qemu: Set capabilities based on supported monitor

Re: [libvirt] question about guest status

2012-02-15 Thread Daniel P. Berrange
On Wed, Feb 15, 2012 at 02:44:18PM +0800, Wen Congyang wrote: Hi all: If the guest runs on xen, we can know the guest OS paniced, and the guest status is paniced. But if the guest runs on qemu/kvm, we need the same feature. And the feature to know guest-is-panic is a very very good

[libvirt] [PATCH] qemu: Fix segfault when CPU host is empty

2012-02-15 Thread Jiri Denemark
In case libvirtd cannot detect host CPU model (which may happen if it runs inside a virtual machine), the daemon is likely to segfault when starting a new qemu domain. It segfaults when domain XML asks for host (either model or passthrough) CPU or does not ask for any specific CPU model at all.

[libvirt] [PATCH libvirt-glib] Avoid triggering deprecation warnings on newest GLib

2012-02-15 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com --- libvirt-glib/libvirt-glib-event.c |4 libvirt-glib/libvirt-glib-main.c |4 libvirt-gobject/libvirt-gobject-compat.h |5 + libvirt-gobject/libvirt-gobject-manager.c |1 + 4 files changed, 14

Re: [libvirt] [PATCH libvirt-glib] Avoid triggering deprecation warnings on newest GLib

2012-02-15 Thread Christophe Fergeau
I haven't tested it but it looks good, so ACK Christophe On Wed, Feb 15, 2012 at 12:10:27PM +, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com --- libvirt-glib/libvirt-glib-event.c |4 libvirt-glib/libvirt-glib-main.c |4

Re: [libvirt] [Bug] [vbox-driver] attach-device

2012-02-15 Thread Gravok
[...]we'd need to know what XML string you are passing to attach-device ?xml version=1.0 encoding=UTF-8 standalone=no? device disk device=cdrom type=file source file=/tmp/foo.iso/ target dev=hdc/ readonly/ /disk /device If I run it without the first line, I get an unexptected error. and you

Re: [libvirt] RFC: Post-install behavior of libvirt(-client)

2012-02-15 Thread Martin Kletzander
On 02/15/2012 11:57 AM, Daniel P. Berrange wrote: On Tue, Feb 14, 2012 at 03:17:40PM -0700, Eric Blake wrote: On 02/14/2012 01:37 AM, Martin Kletzander wrote: Hello everyone, I have a small bug #786770 [1] assigned and I discussed this with few people from our team but I'm still not sure

[libvirt] libvirtError: internal error cannot create rule since ebtables tool is missing.

2012-02-15 Thread Phantomcircuit
# libvirtd --version libvirtd (libvirt) 0.9.8 # which ebtables /sbin/ebtables 2012-02-15 09:40:59.083+: 17675: error : ebtablesCreateRuleInstance:1943 : internal error cannot create rule since ebtables tool is missing. 2012-02-15 09:40:59.107+: 17675: error : virNetDevGetIndex:656 :

[libvirt] [PATCH] Make virInitialize be called in multithreading environment

2012-02-15 Thread Guannan Ren
When initializing libvirt shared library, calling virOnce to make load hypervisor drivers and create thread local key only once. --- src/libvirt.c | 131 +++ src/util/threads-pthread.c |8 ++- 2 files changed, 64

[libvirt] libvirtError: internal error cannot create rule since ebtables tool is missing.

2012-02-15 Thread Phantomcircuit
# libvirtd --version libvirtd (libvirt) 0.9.8 # which ebtables /sbin/ebtables 2012-02-15 09:40:59.083+: 17675: error : ebtablesCreateRuleInstance:1943 : internal error cannot create rule since ebtables tool is missing. 2012-02-15 09:40:59.107+: 17675: error : virNetDevGetIndex:656 :

[libvirt] [PATCH] Improve error reporting when virsh console is run without a TTY

2012-02-15 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com If attempting to run ssh root@somehost virsh console someguest You'll get an error 2012-02-15 13:11:47.683+: 4765: info : libvirt version: 0.9.10, package: 1.fc18 (Unknown, 2012-02-15-11:48:57, lettuce.camlab.fab.redhat.com) 2012-02-15

[libvirt] [PATCH v2] storage: Allow runtime detection of scrub

2012-02-15 Thread Michal Privoznik
Currently, if scrub (used for wiping algorithms) is not present at compile time, we don't support any other wiping algorithms than zeroing, even if it was installed later. Switch to runtime detection instead. --- diff to v1: -Add BuildRequires to spec file configure.ac | 30

Re: [libvirt] [PATCH] Improve error reporting when virsh console is run without a TTY

2012-02-15 Thread Jiri Denemark
On Wed, Feb 15, 2012 at 13:16:05 +, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com If attempting to run ssh root@somehost virsh console someguest You'll get an error 2012-02-15 13:11:47.683+: 4765: info : libvirt version: 0.9.10, package: 1.fc18

Re: [libvirt] Support for older libxml2 [Was: [PATCH] Fixed URI parsing]

2012-02-15 Thread Martin Kletzander
On 02/13/2012 10:57 AM, Martin Kletzander wrote: But as I say, I think this is the worst option considering the real problem is with brackets around IPv6 in libxml2 and fixing it there would save us from dealing with lots of bugs. Let's suppose bug #624626 [1] will be fixed soon. Is there a

Re: [libvirt] Support for older libxml2 [Was: [PATCH] Fixed URI parsing]

2012-02-15 Thread Daniel Veillard
On Wed, Feb 15, 2012 at 03:05:34PM +0100, Martin Kletzander wrote: On 02/13/2012 10:57 AM, Martin Kletzander wrote: But as I say, I think this is the worst option considering the real problem is with brackets around IPv6 in libxml2 and fixing it there would save us from dealing with lots of

Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Dave Allan
On Wed, Feb 15, 2012 at 10:08:24AM +0100, Christophe Fergeau wrote: On Tue, Feb 14, 2012 at 02:10:37PM -0700, Eric Blake wrote: Meta-question - if the XML requests secure, but TLS is disabled, should we instead be failing to start the domain with a complaint that we can't honor the XML?

[libvirt] [PATCH v2 0/3] Introduce virDomainPMWakeup API

2012-02-15 Thread Michal Privoznik
This is counterpart for virDomainPMSuspendForDuration API which we have already in. It allows user to wake up guest from S3 state. 1/3 is already ACKed, but I am sending it for the completeness sake. Michal Privoznik (3): Introduce virDomainPMWakeup API virsh: Expose virDomainPMWakeup

[libvirt] [PATCH v2 2/3] virsh: Expose virDomainPMWakeup

2012-02-15 Thread Michal Privoznik
--- tools/virsh.c | 46 ++ tools/virsh.pod |6 ++ 2 files changed, 52 insertions(+), 0 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 66ba61c..4971e36 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -2436,6 +2436,50 @@

[libvirt] [PATCH v2 3/3] qemu: Implement virDomainPMWakeup API

2012-02-15 Thread Michal Privoznik
using 'system-wakeup' monitor command. It is supported only in JSON, as we are enabling it if possible. Moreover, this command is available in qemu-1.1+ which definitely has JSON. --- src/qemu/qemu_driver.c | 55 ++ src/qemu/qemu_monitor.c |

[libvirt] [PATCH v2 1/3] Introduce virDomainPMWakeup API

2012-02-15 Thread Michal Privoznik
This API allows a domain which previously called virDomainPMSuspendForDuration() to be woken up. --- include/libvirt/libvirt.h.in |2 + src/driver.h |4 +++ src/libvirt.c| 50 ++ src/libvirt_public.syms |1

Re: [libvirt] [PATCH v2 1/3] Introduce virDomainPMWakeup API

2012-02-15 Thread Michal Privoznik
On 15.02.2012 16:04, Michal Privoznik wrote: This API allows a domain which previously called virDomainPMSuspendForDuration() to be woken up. --- include/libvirt/libvirt.h.in |2 + src/driver.h |4 +++ src/libvirt.c| 50

Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Daniel P. Berrange
On Wed, Feb 15, 2012 at 09:59:57AM -0500, Dave Allan wrote: On Wed, Feb 15, 2012 at 10:08:24AM +0100, Christophe Fergeau wrote: On Tue, Feb 14, 2012 at 02:10:37PM -0700, Eric Blake wrote: Meta-question - if the XML requests secure, but TLS is disabled, should we instead be failing to

Re: [libvirt] [PATCH v3] Support for cpu64-rhel* qemu cpu models

2012-02-15 Thread Eric Blake
On 02/13/2012 07:32 AM, Jiri Denemark wrote: On Fri, Feb 10, 2012 at 11:22:09 -0700, Eric Blake wrote: On 01/30/2012 09:25 AM, Martin Kletzander wrote: In qemu there are 2 cpu models (cpu64-rhel5 and cpu64-rhel6) not supported by libvirt. This patch adds the support with the flags

[libvirt] [PATCH] qemu: Unlock monitor when connecting to dest qemu fails

2012-02-15 Thread Jiri Denemark
When migrating a qemu domain, we enter the monitor, send some commands, try to connect to destination qemu, send other commands, end exit the monitor. However, if we couldn't connect to destination qemu we forgot to exit the monitor. Bug introduced by commit

Re: [libvirt] [PATCHv3] python: Expose virDomain{G, S}etInterfaceParameters APIs in python binding

2012-02-15 Thread Eric Blake
On 02/13/2012 07:56 PM, a...@redhat.com wrote: From: Alex Jia a...@redhat.com The v3 patch to follow latest python binding codes and change 'size' type from int to Py_ssize_t. static PyObject * +libvirt_virDomainSetInterfaceParameters(PyObject *self ATTRIBUTE_UNUSED, +

Re: [libvirt] [PATCHv3] python: Expose virDomain{G, S}etInterfaceParameters APIs in python binding

2012-02-15 Thread Alex Jia
Eric, yes, I haven't noticed it:( and will fix them on v4. Thanks, Alex - Original Message - From: Eric Blake ebl...@redhat.com To: a...@redhat.com Cc: libvir-list@redhat.com Sent: Thursday, February 16, 2012 12:04:14 AM Subject: Re: [libvirt] [PATCHv3] python: Expose virDomain{G,

Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Christophe Fergeau
On Wed, Feb 15, 2012 at 03:10:47PM +, Daniel P. Berrange wrote: It enables you to turn on TLS for all guests, regardless of the domain XML configuration, which is a desirable policy control knob for a host level administrator to have. I'm under the impression that it's doing the opposite

[libvirt] [PATCHv4] python: Expose virDomain{G, S}etInterfaceParameters APIs in python binding

2012-02-15 Thread ajia
From: Alex Jia a...@redhat.com The v4 patch corrects indentation issues. The v3 patch follows latest python binding codes and change 'size' type from int to Py_ssize_t. An simple example to show how to use it: #!/usr/bin/env python import libvirt conn = libvirt.open(None) dom =

Re: [libvirt] [PATCH] qemu: Fix segfault when CPU host is empty

2012-02-15 Thread Eric Blake
On 02/15/2012 04:33 AM, Jiri Denemark wrote: In case libvirtd cannot detect host CPU model (which may happen if it runs inside a virtual machine), the daemon is likely to segfault when starting a new qemu domain. Nested virt - what fun. It segfaults when domain XML asks for host (either

Re: [libvirt] [PATCH] daemon: fix logic bug with virAsprintf

2012-02-15 Thread Jim Fehlig
Eric Blake wrote: Regression introduced in commit 7033c5f2, due to improper conversion from snprintf to virAsprintf. * daemon/remote.c (remoteDispatchAuthList): Check return value correctly. --- This one's embarrassing. I think I broke polkit authorization in 0.9.10. :( Yes, you

Re: [libvirt] [PATCH] Don't add SPICE TLS channels when TLS is disabled

2012-02-15 Thread Eric Blake
On 02/15/2012 09:36 AM, Christophe Fergeau wrote: On Wed, Feb 15, 2012 at 03:10:47PM +, Daniel P. Berrange wrote: It enables you to turn on TLS for all guests, regardless of the domain XML configuration, which is a desirable policy control knob for a host level administrator to have.

Re: [libvirt] [PATCHv3 0/2] qemu: mitigate 'qemu disk buffers not flushed' problem

2012-02-15 Thread Laine Stump
On 02/07/2012 01:26 PM, Eric Blake wrote: ACK series from me; although I'm a bit biased (having written half the first patch before you reworked it), so you still might feedback from danpb before pushing. Now that 0.9.10 is out, I've pushed both of these patches. This will give us some time

Re: [libvirt] [PATCH v2] RFC Libvirt + Openvswitch

2012-02-15 Thread Laine Stump
On 02/14/2012 09:26 PM, Laine Stump wrote: On 02/14/2012 05:33 PM, Eric Blake wrote: On 02/13/2012 10:56 PM, Laine Stump wrote: But because an interfaceid is auto-generated by the parser when one isn't given, and a common parser function for virtualport is used by the domain and network

Re: [libvirt] Support for older libxml2 [Was: [PATCH] Fixed URI parsing]

2012-02-15 Thread Eric Blake
On 02/15/2012 08:01 AM, Daniel Veillard wrote: I completely missed this, I'm not sure I understand comment 2: paphio:~/XML - testURI --debug 'qemu+ssh://[3ffe::102]/system' scheme: qemu+ssh server: [3ffe::102] path: /system qemu+ssh://[3ffe::102]/system paphio:~/XML - Seems to

Re: [libvirt] [PATCH v2] storage: Allow runtime detection of scrub

2012-02-15 Thread Eric Blake
On 02/15/2012 06:37 AM, Michal Privoznik wrote: Currently, if scrub (used for wiping algorithms) is not present at compile time, we don't support any other wiping algorithms than zeroing, even if it was installed later. Switch to runtime detection instead. --- diff to v1: -Add BuildRequires

Re: [libvirt] [PATCH] qemu: Prevent crash of libvirtd without guest agent

2012-02-15 Thread Eric Blake
On 02/15/2012 02:27 AM, a...@redhat.com wrote: From: Alex Jia a...@redhat.com * src/qemu/qemu_process.c (qemuFindAgentConfig): avoid crash libvirtd due to deref a NULL pointer. * How to reproduce? 1. virsh edit the following xml into guest configuration: channel type='pty'

Re: [libvirt] libvirtError: internal error cannot create rule since ebtables tool is missing.

2012-02-15 Thread Eric Blake
On 02/15/2012 03:08 AM, Phantomcircuit wrote: # libvirtd --version libvirtd (libvirt) 0.9.8 # which ebtables /sbin/ebtables 2012-02-15 09:40:59.083+: 17675: error : ebtablesCreateRuleInstance:1943 : internal error cannot create rule since ebtables tool is missing. 2012-02-15

Re: [libvirt] [PATCH] daemon: plug memory leak

2012-02-15 Thread Eric Blake
On 02/15/2012 02:32 AM, Michal Privoznik wrote: On 14.02.2012 23:52, Eric Blake wrote: Leak introduced in commit bb2eddc6. * daemon/remote.c (remoteDispatchAuthPolkit): Also free pkout on success. --- daemon/remote.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) ACK

Re: [libvirt] [PATCH] daemon: fix logic bug with virAsprintf

2012-02-15 Thread Eric Blake
On 02/15/2012 12:21 AM, Wen Congyang wrote: At 02/15/2012 07:03 AM, Eric Blake Wrote: Regression introduced in commit 7033c5f2, due to improper conversion from snprintf to virAsprintf. * daemon/remote.c (remoteDispatchAuthList): Check return value correctly. --- This one's embarrassing.

Re: [libvirt] [PATCH] daemon: fix logic bug with virAsprintf

2012-02-15 Thread Eric Blake
On 02/15/2012 10:52 AM, Jim Fehlig wrote: This one's embarrassing. I think I broke polkit authorization in 0.9.10. :( Yes, you did :). I also found a segfault and was about to post the attached patch. Regards, Jim 0001-Fix-polkit0-authentication.patch From

Re: [libvirt] [PATCH] snapshot: fix snapshot deletion

2012-02-15 Thread Eric Blake
On 02/15/2012 02:41 AM, Michal Privoznik wrote: On 14.02.2012 21:48, Eric Blake wrote: Bug introduced in commit 35abced. On an inactive domain, $ virsh snapshot-create-as dom snap $ virsh snapshot-create dom $ virsh snapshot-create dom $ virsh snapshot-delete --children dom snap could

[libvirt] [libvirt-glib] Add gvir_domain_get_saved()

2012-02-15 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Binding for virDomainHasManagedSaveImage(). --- libvirt-gobject/libvirt-gobject-domain.c | 13 + libvirt-gobject/libvirt-gobject-domain.h |1 + libvirt-gobject/libvirt-gobject.sym |1 + 3 files changed, 15 insertions(+),

Re: [libvirt] [PATCH v2 1/3] Introduce virDomainPMWakeup API

2012-02-15 Thread Eric Blake
On 02/15/2012 08:04 AM, Michal Privoznik wrote: This API allows a domain which previously called virDomainPMSuspendForDuration() to be woken up. --- include/libvirt/libvirt.h.in |2 + src/driver.h |4 +++ src/libvirt.c| 50

Re: [libvirt] [PATCH v2 2/3] virsh: Expose virDomainPMWakeup

2012-02-15 Thread Eric Blake
On 02/15/2012 08:04 AM, Michal Privoznik wrote: --- tools/virsh.c | 46 ++ tools/virsh.pod |6 ++ 2 files changed, 52 insertions(+), 0 deletions(-) ACK. I'm wondering, though, if we should make this command smarter (as a followup

Re: [libvirt] [PATCHv4] python: Expose virDomain{G, S}etInterfaceParameters APIs in python binding

2012-02-15 Thread Alex Jia
Thanks; pushed. - Original Message - From: Eric Blake ebl...@redhat.com To: a...@redhat.com Cc: libvir-list@redhat.com Sent: Thursday, February 16, 2012 6:24:14 AM Subject: Re: [libvirt] [PATCHv4] python: Expose virDomain{G, S}etInterfaceParameters APIs in python binding On 02/15/2012

[libvirt] serial console/events example script

2012-02-15 Thread Dave Allan
Hi all, A while back I wrote the attached code to demonstrate how to use events and serial console to create a serial console that stays up even when the VM is down. Is it worth adding to the examples? It might need some work, as I am not terribly strong with Python. Dave #!/usr/bin/python -u

Re: [libvirt] question about guest status

2012-02-15 Thread KAMEZAWA Hiroyuki
On Wed, 15 Feb 2012 11:00:25 + Daniel P. Berrange berra...@redhat.com wrote: On Wed, Feb 15, 2012 at 02:44:18PM +0800, Wen Congyang wrote: Hi all: If the guest runs on xen, we can know the guest OS paniced, and the guest status is paniced. But if the guest runs on qemu/kvm, we

Re: [libvirt] [PATCH] qemu: Fix segfault when CPU host is empty

2012-02-15 Thread Alex Jia
On 02/16/2012 12:57 AM, Eric Blake wrote: On 02/15/2012 04:33 AM, Jiri Denemark wrote: In case libvirtd cannot detect host CPU model (which may happen if it runs inside a virtual machine), the daemon is likely to segfault when starting a new qemu domain. Nested virt - what fun. I want to

[libvirt] [PATCH] Fix build with polkit0

2012-02-15 Thread Jim Fehlig
Commit 8dd623b9 introduced a build error with --enable-compile-warnings=error remote.c:2593: error: unused variable 'rv' [-Wunused-variable] Pushing under build-breaker rule. --- daemon/remote.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/daemon/remote.c

Re: [libvirt] [PATCH] daemon: fix logic bug with virAsprintf

2012-02-15 Thread Jim Fehlig
Eric Blake wrote: From a06fab953f99e778883618dd0aeaef8da5d5b32a Mon Sep 17 00:00:00 2001 From: Jim Fehlig jfeh...@suse.com Date: Wed, 15 Feb 2012 10:01:50 -0700 Subject: [PATCH] Fix polkit0 authentication Commit 7033c5f2 introduced some bugs in polkit0 authentication. Fix libvirtd segfault

[libvirt] Anyone up for a libvirt webcast on FLOSS Weekly Podcasts

2012-02-15 Thread Justin Clift
Hi all, Looking for someone to do a webcast about Libvirt, for the FLOSS Weekly podcast: http://twit.tv/show/floss-weekly Preferably someone pretty well known in the Libvirt Community (commit access maybe?). Said person must have decent bandwidth for the webcast connection, and be

Re: [libvirt] question about guest status

2012-02-15 Thread Wen Congyang
At 02/16/2012 11:04 AM, KAMEZAWA Hiroyuki Wrote: On Wed, 15 Feb 2012 11:00:25 + Daniel P. Berrange berra...@redhat.com wrote: On Wed, Feb 15, 2012 at 02:44:18PM +0800, Wen Congyang wrote: Hi all: If the guest runs on xen, we can know the guest OS paniced, and the guest status is

[libvirt] [PATCH 1/3 V6] add nodeGetCPUmap() for getting available CPU IDs in a cpumap.

2012-02-15 Thread Lai Jiangshan
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Changelog: - fixed typos. - fixed string scan routine. Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- src/libvirt_private.syms |1 + src/nodeinfo.c |

[libvirt] [PATCH 2/3 V6] qemu driver for virDomainGetCPUstats using cpuacct cgroup.

2012-02-15 Thread Lai Jiangshan
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com * Now, only cpu_time is supported. * cpuacct cgroup is used for providing percpu cputime information. * include/libvirt/libvirt.h.in - defines VIR_DOMAIN_CPU_STATS_CPUTIME * src/qemu/qemu.conf - take care of cpuacct cgroup. *

Re: [libvirt] [PATCH 1/1 V4] virt-top: correct virt-top -1 command via cpuacct cgroup

2012-02-15 Thread Lai Jiangshan
Hi, Richard virt-top and ocaml site patches can work and are completed weeks ago since public API of libvirt is merged. Could you merged them? virt-top and ocaml site patches only depend on the public API of libvirt. but the testing of them may depend on the qemu-driver-site patch of libvirt,