Re: [libvirt] [PATCH v2 0/4] Add cpu hotplug support to libvirt.

2012-09-04 Thread Srivatsa S. Bhat
e ago to expose another file so that we can distinguish between the user specified settings vs the actual scenario underneath. But the conclusion in the ensuing discussion was that the existing kernel behaviour is good as is, and trying to "fix" it would break kernel semantics. (However

Re: [libvirt] [RFC] Support cpu hotplug in libvirt.

2012-08-19 Thread Srivatsa S. Bhat
ar CPU hotplug. It is an expected behaviour. [Note that, technically the kernel can be "fixed" for this case as well. But this would break kernel semantics for CPU hotplug. Hence we have chosen not to do it. The suspend/resume case was inevitable (as long as it depends on CPU hotplug).]

Re: [libvirt] [PATCH v2] doc: update the minimum value for nodesuspend time duration

2012-07-24 Thread Srivatsa S. Bhat
n. >> >> ACK with that wording change. >> > > Sorry, "at least 60 seconds" means the 60 is permissible minimun > value. > but actually according to the code, the 61 seconds is the minimun > value. > Or we change the code from "<=" to "<"? > > if (alarmTime <= MIN_TIME_REQ_FOR_SUSPEND) { > virReportError(VIR_ERR_INVALID_ARG, "%s", >_("Suspend duration is too short")); > return -1; > } > You could change the code, to accept 60 seconds or more as a valid value. 60 seconds is not a hard-and-fast rule anyway.. Its just a good estimate that aims to be on the safer side, that's all. Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] Improve docs about compiling libvirt from GIT

2012-05-25 Thread Srivatsa S. Bhat
irsh > + > + > + > + A normal configuration of libvirt will build hypervisor drivers > + as loadable modules. When runnning from a non-installed source s/runnning/running > + tree, libvirtd will attempt to find the modules from the same > + sou

Re: [libvirt] cgroup cpuset limited by default?

2012-04-17 Thread Srivatsa S. Bhat
On 04/17/2012 03:02 PM, Daniel P. Berrange wrote: > On Tue, Apr 17, 2012 at 11:09:33AM +0530, Srivatsa S. Bhat wrote: >> On 04/16/2012 09:43 PM, Daniel P. Berrange wrote: >> >>> On Mon, Apr 16, 2012 at 06:00:22PM +0200, Marc-André Lureau wrote: >>>> Hi >&

Re: [libvirt] cgroup cpuset limited by default?

2012-04-16 Thread Srivatsa S. Bhat
On 04/16/2012 09:43 PM, Daniel P. Berrange wrote: > On Mon, Apr 16, 2012 at 06:00:22PM +0200, Marc-André Lureau wrote: >> Hi >> >> On Mon, Apr 16, 2012 at 2:32 PM, Srivatsa S. Bhat >> wrote: >>> On 04/16/2012 05:34 PM, Marc-André Lureau wrote: >>> Di

Re: [libvirt] cgroup cpuset limited by default?

2012-04-16 Thread Srivatsa S. Bhat
e or a hibernation/restore on your computer? (Or did you do CPU hotplug manually?) If yes, you might be seeing the problem reported at: https://bugzilla.redhat.com/show_bug.cgi?id=714271 Unfortunately, as of now the kernel still doesn't handle this properly.. IOW, we don't have a kernel

Re: [libvirt] [PATCH 05/14] Sanitize virDiscoverHostPMFeature to return a boolean

2011-11-29 Thread Srivatsa S. Bhat
ams); > > /* Power Management Capabilities of the host system */ > > -int virDiscoverHostPMFeature(unsigned int *bitmask, unsigned int feature); > +int virDiscoverHostPMFeature(unsigned int feature, bool *supported); > int virGetPMCapabilities(unsigned int *bitmask); > > #endif /* __VIR_UTIL_H__ */ -- Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 08/14] Add export of node suspend capabilities APIs

2011-11-29 Thread Srivatsa S. Bhat
d.h > nodeSuspendForDuration; > virNodeSuspendInit; > +virNodeSuspendGetTargetMask; > +virNodeSuspendSupportsTarget; And we need not export virNodeSuspendSupportsTarget here, if we mark it as static in patch 7/14. -- Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvi

Re: [libvirt] [PATCH 07/14] Move suspend capabilities APIs out of util.h into virnodesuspend.c

2011-11-29 Thread Srivatsa S. Bhat
rn 0; > +} > diff --git a/src/util/virnodesuspend.h b/src/util/virnodesuspend.h > index 66e3214..1e23ce8 100644 > --- a/src/util/virnodesuspend.h > +++ b/src/util/virnodesuspend.h > @@ -32,5 +32,7 @@ int nodeSuspendForDuration(virConnectPtr conn, > > int virNodeSuspendInit(void); > > +int virNodeSuspendSupportsTarget(unsigned int target, bool *supported); > +int virNodeSuspendGetTargetMask(unsigned int *bitmask); > > #endif /* __VIR_NODE_SUSPEND_H__ */ -- Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 10/14] Remove powerMgmt_valid field from capabilities struct

2011-11-29 Thread Srivatsa S. Bhat
gt;host.powerMgmt; > +virBufferAddLit(&xml, "\n"); > +while (pm) { > +int bit = ffs(pm) - 1; > +virBufferAsprintf(&xml, " <%s/>\n", > + virCapsHostPMTargetTypeToString(bit)); > +

Re: [libvirt] [PATCH 09/14] Fix check for whether a suspend target is supported

2011-11-29 Thread Srivatsa S. Bhat
_SUSPEND_TARGET_HYBRID where VIR_NODE_SUSPEND_TARGET_HYBRID etc were like 1 << 0, 1 << 1 etc Thus, this was ugly, but not broken. Otherwise, it would have surely failed my suspend tests which I ran every time before submitting the patches :-) -- Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 06/14] Rename suspend capabilities APIs

2011-11-29 Thread Srivatsa S. Bhat
On 11/29/2011 09:53 PM, Eric Blake wrote: > On 11/29/2011 09:19 AM, Srivatsa S. Bhat wrote: >>> /** >>> - * virGetPMCapabilities: >>> + * virNodeSuspendGetTargetMask: >>> * >>> * Get the Power Management Capabilities that the host system suppor

Re: [libvirt] [PATCH 06/14] Rename suspend capabilities APIs

2011-11-29 Thread Srivatsa S. Bhat
+2675,19 @@ cleanup: > } > > /** > - * virGetPMCapabilities: > + * virNodeSuspendGetTargetMask: > * > * Get the Power Management Capabilities that the host system supports, > * such as Suspend-to-RAM (S3), Suspend-to-Disk (S4) and Hybrid-Suspend > * (a combination of S3 and S4). > * You might want to remove the terminology "S3", "S4" etc from here, perhaps? -- Regards, Srivatsa S. Bhat IBM Linux Technology Center -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [ PATCH v5 0/4] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-29 Thread Srivatsa S. Bhat
On 11/29/2011 03:12 PM, Daniel Veillard wrote: > On Tue, Nov 29, 2011 at 03:12:07AM +0530, Srivatsa S. Bhat wrote: >> This patchset adds a new API to put a host to a suspended state >> (Suspend-to-RAM, Suspend-to-Disk or Hybrid-Suspend) and setup a timed resume >> to get

Re: [libvirt] [PATCH] Add 'Hybrid-Suspend' power management discovery for the host

2011-11-28 Thread Srivatsa S. Bhat
On 11/29/2011 12:37 PM, Daniel Veillard wrote: > On Thu, Nov 24, 2011 at 02:22:41PM +0530, Srivatsa S. Bhat wrote: >> Some systems support a feature known as 'Hybrid-Suspend', apart from the >> usual system-wide sleep states such as Suspend-to-RAM (S3) or Suspend

[libvirt] [PATCH v5 4/4] Add virsh command to initiate suspend on the host

2011-11-28 Thread Srivatsa S. Bhat
Add a new command 'nodesuspend' to perform a timed suspend on the host. Signed-off-by: Srivatsa S. Bhat --- tools/virsh.c | 64 +++ tools/virsh.pod |7 ++ 2 files changed, 71 insertions(+), 0 deletions(-) diff --g

[libvirt] [PATCH v5 3/4] Implement the core API to suspend/resume the host

2011-11-28 Thread Srivatsa S. Bhat
it to disk etc. So, we do not allow the user to specify a suspend duration of less than 60 seconds, to be on the safer side, since we don't want to prematurely declare failure when we only had to wait for some more time. Signed-off-by: Srivatsa S. Bhat --- src/Makefile.am |1

[libvirt] [PATCH v5 2/4] Add the remote protocol implementation for virNodeSuspendForDuration

2011-11-28 Thread Srivatsa S. Bhat
Implement the remote protocol for virNodeSuspendForDuration() API. Signed-off-by: Srivatsa S. Bhat --- src/remote/remote_driver.c |1 + src/remote/remote_protocol.x | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote

[libvirt] [PATCH v5 1/4] Add a public API to invoke suspend/resume on the host

2011-11-28 Thread Srivatsa S. Bhat
Implement the public definitions for the new API virNodeSuspendForDuration() which will be subsequently used to do a timed suspend on the host. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in | 16 +++ src/driver.h |6 src/libvirt.c

[libvirt] [ PATCH v5 0/4] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-28 Thread Srivatsa S. Bhat
/archives/libvir-list/2011-November/msg01407.html [2]. http://thread.gmane.org/gmane.comp.emulators.libvirt/47950 [3]. http://thread.gmane.org/gmane.comp.emulators.libvirt/49054 Srivatsa S. Bhat (4): Add a public API to invoke suspend/resume on the host Add the remote protocol implementation

Re: [libvirt] [PATCH v4 3/4] Implement the core API to suspend/resume the host

2011-11-28 Thread Srivatsa S. Bhat
On 11/28/2011 11:26 PM, Eric Blake wrote: > On 11/28/2011 10:46 AM, Srivatsa S. Bhat wrote: > >>>> +/* Check if the host supports the requested suspend state */ >>>> +switch (state) { >>>> +case VIR_NODE_S3: >

Re: [libvirt] [PATCH v4 3/4] Implement the core API to suspend/resume the host

2011-11-28 Thread Srivatsa S. Bhat
On 11/28/2011 05:50 PM, Daniel P. Berrange wrote: > On Mon, Nov 28, 2011 at 05:33:22PM +0530, Srivatsa S. Bhat wrote: >> Add the core functions that implement the functionality of the API. >> Suspend is done by using an asynchronous mechanism so that we can return >> the

Re: [libvirt] [PATCH v4 3/4] Implement the core API to suspend/resume the host

2011-11-28 Thread Srivatsa S. Bhat
Hi Daniel, On 11/28/2011 05:50 PM, Daniel P. Berrange wrote: > On Mon, Nov 28, 2011 at 05:33:22PM +0530, Srivatsa S. Bhat wrote: >> Add the core functions that implement the functionality of the API. >> Suspend is done by using an asynchronous mechanism so that we can return >&

[libvirt] [PATCH v4 1/4] Add a public API to invoke suspend/resume on the host

2011-11-28 Thread Srivatsa S. Bhat
Implement the public definitions for the new API virNodeSuspendForDuration() which will be subsequently used to do a timed suspend on the host. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in | 17 +++- src/driver.h |6 src/libvirt.c

[libvirt] [PATCH v4 2/4] Add the remote protocol implementation for virNodeSuspendForDuration

2011-11-28 Thread Srivatsa S. Bhat
Implement the remote protocol for virNodeSuspendForDuration() API. Signed-off-by: Srivatsa S. Bhat --- src/remote/remote_driver.c |1 + src/remote/remote_protocol.x | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote

[libvirt] [PATCH v4 4/4] Add virsh command to initiate suspend on the host

2011-11-28 Thread Srivatsa S. Bhat
Add a new command 'nodesuspend' to perform a timed suspend on the host. Signed-off-by: Srivatsa S. Bhat --- tools/virsh.c | 64 +++ tools/virsh.pod |7 ++ 2 files changed, 71 insertions(+), 0 deletions(-) diff --g

[libvirt] [ PATCH v4 0/4] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-28 Thread Srivatsa S. Bhat
/2011-November/msg01407.html [5]. http://thread.gmane.org/gmane.comp.emulators.libvirt/47950 Srivatsa S. Bhat (4): Add a public API to invoke suspend/resume on the host Add the remote protocol implementation for virNodeSuspendForDuration Implement the core API to suspend/resume the

[libvirt] [PATCH v4 3/4] Implement the core API to suspend/resume the host

2011-11-28 Thread Srivatsa S. Bhat
. However, returning the status to the caller is only best-effort, but not guaranteed. To resume the host, an RTC alarm is set up (based on how long we want to suspend) before suspending the host. When this alarm fires, the host gets woken up. Signed-off-by: Srivatsa S. Bhat --- src

[libvirt] [PATCH] Add 'Hybrid-Suspend' power management discovery for the host

2011-11-24 Thread Srivatsa S. Bhat
dition was suggested in [1]. References: 1. http://www.redhat.com/archives/libvir-list/2011-November/msg01298.html Signed-off-by: Srivatsa S. Bhat --- docs/formatcaps.html.in | 12 +++-- docs/schemas/capability.rng |5 ++ src/conf/capabilities.c |2 - src/util/util.c

Re: [libvirt] [PATCH v3 2/2] Make the API public

2011-11-24 Thread Srivatsa S. Bhat
On 11/23/2011 06:55 PM, Eric Blake wrote: > On 11/23/2011 05:33 AM, Srivatsa S. Bhat wrote: >>> Perhaps, I'll send a companion patch to add the hybrid-suspend discovery >>> to that, and then base the next version of this patchset on that. >>> >> >> A

Re: [libvirt] [PATCH v3 2/2] Make the API public

2011-11-23 Thread Srivatsa S. Bhat
On 11/23/2011 04:10 PM, Srivatsa S. Bhat wrote: > On 11/22/2011 11:56 PM, Eric Blake wrote: >> On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >>> Define the required interfaces to export the API. >>> >>> Signed-off-by: Srivatsa S. Bhat >>> ---

Re: [libvirt] [PATCH v3 2/2] Make the API public

2011-11-23 Thread Srivatsa S. Bhat
On 11/22/2011 11:56 PM, Eric Blake wrote: > On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >> Define the required interfaces to export the API. >> >> Signed-off-by: Srivatsa S. Bhat >> --- >> >> include/libvirt/libvirt.h.in |4 >> src

Re: [libvirt] [PATCH v3 1/2] Implement the asynchronous suspend and RTC wakeup

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 11:33 PM, Eric Blake wrote: > On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >> Add the core functions that implement the functionality of the API. >> Suspend is done by using an asynchronous mechanism so that we can return >> the status to the caller success

Re: [libvirt] [PATCH RESEND v5] Export KVM Host Power Management capabilities

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 08:59 AM, Daniel Veillard wrote: > On Wed, Nov 09, 2011 at 04:38:02PM +0530, Srivatsa S. Bhat wrote: >> This patch exports KVM Host Power Management capabilities as XML so that >> higher-level systems management software can make use of these features >>

Re: [libvirt] [PATCH RESEND v5] Export KVM Host Power Management capabilities

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 05:53 AM, Eric Blake wrote: > On 11/13/2011 10:29 PM, Srivatsa S. Bhat wrote: >> On 11/09/2011 04:38 PM, Srivatsa S. Bhat wrote: >>> This patch exports KVM Host Power Management capabilities as XML so that >>> higher-level systems management software can

Re: [libvirt] [PATCH v3 1/2] Implement the asynchronous suspend and RTC wakeup

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 06:18 AM, Eric Blake wrote: > On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >> Add the core functions that implement the functionality of the API. >> Suspend is done by using an asynchronous mechanism so that we can return >> the status to the caller success

Re: [libvirt] [PATCH v3 0/2] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 03:48 PM, Alon Levy wrote: > On Mon, Nov 21, 2011 at 05:26:55PM -0700, Eric Blake wrote: >> On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >>> (This patch is positioned to go in after the patch that exports the host >>> power management capabilities as XM

Re: [libvirt] [PATCH v3 0/2] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-22 Thread Srivatsa S. Bhat
On 11/22/2011 05:56 AM, Eric Blake wrote: > On 11/09/2011 05:05 AM, Srivatsa S. Bhat wrote: >> (This patch is positioned to go in after the patch that exports the host >> power management capabilities as XML, posted in [4]) > > I'm now reviewing that patch along wi

Re: [libvirt] [PATCH RESEND v5] Export KVM Host Power Management capabilities

2011-11-13 Thread Srivatsa S. Bhat
On 11/09/2011 04:38 PM, Srivatsa S. Bhat wrote: > This patch exports KVM Host Power Management capabilities as XML so that > higher-level systems management software can make use of these features > available in the host. > > The script "pm-is-supported" (from pm-utils pa

[libvirt] [PATCH v3 0/2] API to invoke S3/S4 on a host and also resume from within libvirt

2011-11-09 Thread Srivatsa S. Bhat
/2011-November/msg00378.html Srivatsa S. Bhat (2): Implement the asynchronous suspend and RTC wakeup Make the API public include/libvirt/libvirt.h.in |9 ++ src/driver.h |5 + src/libvirt.c| 48 + src/libvirt_private.syms |7

[libvirt] [PATCH v3 2/2] Make the API public

2011-11-09 Thread Srivatsa S. Bhat
Define the required interfaces to export the API. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in |4 src/driver.h |5 src/libvirt.c| 48 ++ src/libvirt_public.syms |1 + src

[libvirt] [PATCH v3 1/2] Implement the asynchronous suspend and RTC wakeup

2011-11-09 Thread Srivatsa S. Bhat
execution. To resume the host, an RTC alarm is set up (based on how long we want to suspend) before suspending the host. When this alarm fires, the host gets woken up. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in |5 + src/libvirt_private.syms |7 + src

[libvirt] [PATCH RESEND v5] Export KVM Host Power Management capabilities

2011-11-09 Thread Srivatsa S. Bhat
: http://www.redhat.com/archives/libvir-list/2011-August/msg00238.html v1: http://thread.gmane.org/gmane.comp.emulators.libvirt/40886 References: -- [1] http://www.redhat.com/archives/libvir-list/2011-August/msg00248.html [2] http://www.redhat.com/archives/libvir-list/2011-August/msg0030

Re: [libvirt] [PATCH] macvtap: Fix error return values to -1 instead of 1

2011-10-20 Thread Srivatsa S. Bhat
gt; -if (ifaceGetIndex(true, physfndev, &ifindex) < 0) { > -rc = 1; > +rc = ifaceGetIndex(true, physfndev, &ifindex); > +if (rc < 0) > goto err_exit; > -} > > switch (virtPortOp) { > case PREASSOCIATE_RR: > @@ -1059,7 +1053,7 @@ doPort

[libvirt] [RFC PATCH v2 1/2] Implement the asynchronous suspend and RTC wakeup

2011-10-14 Thread Srivatsa S. Bhat
execution. To resume the host, an RTC alarm is set up (based on how long we want to suspend) before suspending the host. When this alarm fires, the host gets woken up. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in |5 + src/libvirt_private.syms |7 + src

[libvirt] [RFC PATCH v2 0/2] API to invoke S3/S4 on a host and also resume from within libvirt

2011-10-14 Thread Srivatsa S. Bhat
/libvir-list/2011-September/msg00438.html [4]. http://www.redhat.com/archives/libvir-list/2011-August/msg00324.html Srivatsa S. Bhat (2): Implement the asynchronous suspend and RTC wakeup Make the API public include/libvirt/libvirt.h.in |9 ++ src/driver.h |5

[libvirt] [RFC PATCH v2 2/2] Make the API public

2011-10-14 Thread Srivatsa S. Bhat
Define the required interfaces to make the API publicly accessible. Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in |4 src/driver.h |5 + src/libvirt.c| 46 ++ src/libvirt_public.syms

[libvirt] [RFC v1] API to invoke S3/S4 on a KVM host and also resume from within libvirt

2011-09-21 Thread Srivatsa S. Bhat
://www.redhat.com/archives/libvir-list/2011-September/msg00438.html Signed-off-by: Srivatsa S. Bhat --- include/libvirt/libvirt.h.in |9 +++ src/driver.h |5 ++ src/libvirt.c| 45 ++ src/libvirt_private.syms |4 + src

[libvirt] [RFC] API to invoke S3/S4 on a KVM host and also resume from within libvirt

2011-09-12 Thread Srivatsa S. Bhat
bly large value. Please let me know your suggestions. -- Regards, Srivatsa S. Bhat Linux Technology Center, IBM India Systems and Technology Lab -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [RFC v5] Export KVM Host Power Management capabilities

2011-08-09 Thread Srivatsa S. Bhat
ww.redhat.com/archives/libvir-list/2011-August/msg00302.html Signed-off-by: Srivatsa S. Bhat --- docs/formatcaps.html.in | 19 docs/schemas/capability.rng | 18 +++ include/libvirt/virterror.h |1 + libvirt.spec.in |2

[libvirt] [RFC v4] Export KVM Host Power Management capabilities

2011-08-09 Thread Srivatsa S. Bhat
at.com/archives/libvir-list/2011-August/msg00248.html [4] http://www.redhat.com/archives/libvir-list/2011-August/msg00302.html [5] http://www.redhat.com/archives/libvir-list/2011-August/msg00282.html Signed-off-by: Srivatsa S. Bhat --- docs/formatcaps.html.in | 19 +++-

[libvirt] [RFC v3] Export KVM Host Power Management capabilities

2011-08-08 Thread Srivatsa S. Bhat
[4] http://www.redhat.com/archives/libvir-list/2011-August/msg00248.html Signed-off-by: Srivatsa S. Bhat --- docs/formatcaps.html.in | 19 ++--- docs/schemas/capability.rng | 23 include/libvirt/virterror.h |1 + src/conf/capabilities.c | 50

Re: [libvirt] [RFC v2] Export KVM Host Power Management capabilities

2011-08-08 Thread Srivatsa S. Bhat
On 08/05/2011 09:21 PM, Eric Blake wrote: > On 08/05/2011 05:54 AM, Srivatsa S. Bhat wrote: >> This patch exports KVM Host Power Management capabilities as XML so that >> higher-level systems management software can make use of these features >> available in the host. &g

[libvirt] [RFC v2] Export KVM Host Power Management capabilities

2011-08-05 Thread Srivatsa S. Bhat
g capabilities through libvirt http://thread.gmane.org/gmane.comp.emulators.libvirt/40886 [2] http://article.gmane.org/gmane.comp.emulators.libvirt/41688 Signed-off-by: Srivatsa S. Bhat --- src/conf/capabilities.c | 34 +++ src/conf/capabilities.h |7 ++ src/