Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API

2011-05-29 Thread KAMEZAWA Hiroyuki
On Mon, 30 May 2011 11:03:35 +0900 Minoru Usui wrote: > On Mon, 30 May 2011 09:36:50 +0900 > KAMEZAWA Hiroyuki wrote: > > > On Wed, 25 May 2011 15:01:29 +0900 > > Minoru Usui wrote: > > > > > Hi, > > > > > > This is v6 of virNodeGetCPUTimeParameters() API. > > > (This time, I rename it to v

Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API

2011-05-29 Thread Minoru Usui
On Mon, 30 May 2011 09:36:50 +0900 KAMEZAWA Hiroyuki wrote: > On Wed, 25 May 2011 15:01:29 +0900 > Minoru Usui wrote: > > > Hi, > > > > This is v6 of virNodeGetCPUTimeParameters() API. > > (This time, I rename it to virNodeGetCPUStats()) > > It returns cpu utilization or > > cumulative cpu t

Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API

2011-05-29 Thread Minoru Usui
On Fri, 27 May 2011 22:33:00 +0800 Daniel Veillard wrote: > On Fri, May 27, 2011 at 02:34:50PM +0100, Daniel P. Berrange wrote: > > On Wed, May 25, 2011 at 03:01:29PM +0900, Minoru Usui wrote: > > > Hi, > > > > > > This is v6 of virNodeGetCPUTimeParameters() API. > > > (This time, I rename it t

Re: [libvirt] [PATCHv6 0/6] Add virNodeGetCPUStats() API

2011-05-29 Thread KAMEZAWA Hiroyuki
On Wed, 25 May 2011 15:01:29 +0900 Minoru Usui wrote: > Hi, > > This is v6 of virNodeGetCPUTimeParameters() API. > (This time, I rename it to virNodeGetCPUStats()) > It returns cpu utilization or > cumulative cpu time of the node from /proc/stat since node boots up. > This patch only supports

Re: [libvirt] Building on Solaris 11 Express

2011-05-29 Thread Ruben Kerkhof
On Sun, May 29, 2011 at 19:45, Matthias Bolte wrote: > 2011/5/29 Richard Laager : >> On Sun, 2011-05-29 at 12:34 +0200, Matthias Bolte wrote: >>> > So I tried building libvirt on Solaris 11 Express. The following >>> > outlines the trouble (and successes) I've had so far. >>> >>> I assume your bui

Re: [libvirt] Building on Solaris 11 Express

2011-05-29 Thread Matthias Bolte
2011/5/29 Richard Laager : > On Sun, 2011-05-29 at 12:34 +0200, Matthias Bolte wrote: >> > So I tried building libvirt on Solaris 11 Express. The following >> > outlines the trouble (and successes) I've had so far. >> >> I assume your building from up-to-date git here? > > I was using 0.9.1. I shou

Re: [libvirt] Building on Solaris 11 Express

2011-05-29 Thread Richard Laager
On Sun, 2011-05-29 at 12:34 +0200, Matthias Bolte wrote: > > So I tried building libvirt on Solaris 11 Express. The following > > outlines the trouble (and successes) I've had so far. > > I assume your building from up-to-date git here? I was using 0.9.1. I should switch to git. > '@//.libvirt/l

[libvirt] [PATCH] Workaround apibuild.py warnings

2011-05-29 Thread Matthias Bolte
Parsing ./../include/libvirt/libvirt.h Misformatted macro comment for _virSchedParameter Expecting '* _virSchedParameter:' got '* virSchedParameter:' Misformatted macro comment for _virBlkioParameter Expecting '* _virBlkioParameter:' got '* virBlkioParameter:' Misformatted macro comment for _vi

[libvirt] [PATCH] Fix virTypedParameter alias comments

2011-05-29 Thread Matthias Bolte
Remove the Domain prefix from the comments. --- include/libvirt/libvirt.h.in | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index cbd8dbb..8058229 100644 --- a/include/libvirt/libvirt.h.in +++ b/

[libvirt] [PATCH] openvz: Automatically disable on non-Linux systems

2011-05-29 Thread Matthias Bolte
As OpenVZ is Linux specific. --- configure.ac | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 55ae791..b2ba930 100644 --- a/configure.ac +++ b/configure.ac @@ -255,7 +255,7 @@ AC_ARG_WITH([qemu], AC_ARG_WITH([uml],

Re: [libvirt] [PATCH] Remove unused 'target' field in virDomainHostdevDef

2011-05-29 Thread Daniel Veillard
On Fri, May 27, 2011 at 11:26:00AM +0100, Daniel P. Berrange wrote: > The virDomainHostdevDef struct contains a 'char *target' > field. This is set to 'NULL' when parsing XML and never > used / set anywhere else. Clearly it is bogus & unused > > * src/conf/domain_conf.c, src/conf/domain_conf.h: Re

[libvirt] Libvirt 0.9.2 week freeze, RC1 version to test

2011-05-29 Thread Daniel Veillard
So we are entering the week freeze for the new version. I have made an rc1 tarball available at: ftp://libvirt.org/libvirt/libvirt-0.9.2-rc1.tar.gz I also made rpms too for those interested. I didn't included the locking patches from Dan Berrange, though I had given a review and ACK on the pr

Re: [libvirt] [PATCH 0/3 v2] More graceful handling of QEMU monitor failures

2011-05-29 Thread Daniel Veillard
On Tue, May 24, 2011 at 06:06:40PM +0100, Daniel P. Berrange wrote: > An update of > > https://www.redhat.com/archives/libvir-list/2011-May/msg00657.html > > Currently when libvirt has a serious error doing I/O and/or parsing > of the QEMU monitor, it will kill off the guest. Application develo

Re: [libvirt] [PATCHv3 0/8] add virGetSchedulerParametersFlags

2011-05-29 Thread Daniel Veillard
On Thu, May 26, 2011 at 02:34:48PM -0600, Eric Blake wrote: > On 05/26/2011 12:17 PM, Eric Blake wrote: > > V2 of this original series: > > https://www.redhat.com/archives/libvir-list/2011-May/msg01142.html > > > > Changes in this version: > > rebase to latest > > avoid regression in virTypedParam

Re: [libvirt] [PATCHv4 4/7] interface: implement remote protocol for network config transaction API

2011-05-29 Thread Daniel Veillard
On Thu, May 26, 2011 at 12:17:42PM -0400, Laine Stump wrote: > From: Michal Privoznik > > No change from previously ACKed patch > diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs > index 414b4d5..a28cd13 100644 > --- a/src/remote_protocol-structs > +++ b/src/remote_protocol

Re: [libvirt] Building on Solaris 11 Express

2011-05-29 Thread Matthias Bolte
2011/5/29 Richard Laager : > I would really like to use ZFS's zvols as storage for my guests. I > really like ZFS's snapshots, send/receive, and checksumming features. > (Compression and deduplication might be useful as well.) > > I'm roughly about half-way done writing a ZFS storage backend for >

Re: [libvirt] [PATCH] Fix virExecWithHook Prototype

2011-05-29 Thread Matthias Bolte
2011/5/29 Richard Laager : > This was necessary to get libvirt to build on Solaris 11 Express and > seems correct (as it makes this match the definition in util.c): > > diff --git a/src/util/util.h b/src/util/util.h > index d320c40..31ec089 100644 > --- a/src/util/util.h > +++ b/src/util/util.h > @