in the kernel by commit d35be8bab).
[1]. http://thread.gmane.org/gmane.linux.documentation/4805
Regards,
Srivatsa S. Bhat
vm1 cannot be started again.
# virsh start vm1
error: Failed to start domain vm1
error: Unable to set cpuset.cpus: Permission denied
And libvird gave the following errors.
2012
/resume case was inevitable (as long as it depends on CPU hotplug).]
And the suspend/resume case has been fixed, in the 3.6 merge window by this
commit:
commit d35be8bab9b0ce44bed4b9453f86ebf64062721e
Author: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
Date: Thu May 24 19:46:26 2012 +0530
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
, libvirtd will attempt to find the modules from the same
+ source tree. If this is not possible though, you can explicitly
+ set codeLIBVIRT_DRIVER_DIR=/path/to/source/tree/src/.libs/code
+/p
/body
/html
Regards,
Srivatsa S. Bhat
--
libvir-list mailing list
libvir-list
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
On Mon, Apr 16, 2012 at 2:32 PM, Srivatsa S. Bhat
, we don't have a kernel fix (yet).
Regards,
Srivatsa S. Bhat
IBM Linux Technology Center
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
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
srivatsa.b...@linux.vnet.ibm.com wrote:
On 04/16/2012 05:34 PM, Marc-André Lureau wrote:
Did you happen to perform
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 the host back online, from
, 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
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 supports,
* such as Suspend-to-RAM (S3), Suspend-to-Disk (S4
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
,
+ virCapsHostPMTargetTypeToString(bit));
+pm = ~(1U bit);
}
+virBufferAddLit(xml, /power_management\n);
+} else {
+/* The host does not support any PM feature. */
+virBufferAddLit(xml, power_management/\n);
}
--
Regards,
Srivatsa S. Bhat
IBM Linux
,
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
;
+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
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir
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
. 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 srivatsa.b
/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
Add a new command 'nodesuspend' to perform a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
tools/virsh.c | 64 +++
tools/virsh.pod |7 ++
2 files changed, 71 insertions(+), 0
Implement the remote protocol for virNodeSuspendForDuration() API.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 10 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src
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
the status to the caller
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 status to the caller before
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:
+if (hostPMFeatures VIR_NODE_S3) {
+cmdString = strdup(pm-suspend
/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
Implement the remote protocol for virNodeSuspendForDuration() API.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 10 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src
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 srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in | 16 +++
src/driver.h
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 srivatsa.b...@linux.vnet.ibm.com
---
src
Add a new command 'nodesuspend' to perform a timed suspend on the host.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
tools/virsh.c | 64 +++
tools/virsh.pod |7 ++
2 files changed, 71 insertions(+), 0
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-to-Disk
(S4). Add the functionality
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.
Actually thinking about it, I don't see how that would
.
This addition was suggested in [1].
References:
1. http://www.redhat.com/archives/libvir-list/2011-November/msg01298.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
docs/formatcaps.html.in | 12 +++--
docs/schemas/capability.rng |5 ++
src/conf/capabilities.c
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 srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |4
src/driver.h |5
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 srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in
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 with this series; if we need another
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 XML, posted in [4])
I'm now reviewing
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 successfully before the host gets
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 make use of these features
available
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
available in the host.
The script
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 successfully before the host gets
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 package) is run to discover
://www.redhat.com/archives/libvir-list/2011-August/msg00248.html
[2] http://www.redhat.com/archives/libvir-list/2011-August/msg00302.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
docs/formatcaps.html.in | 19
docs/schemas/capability.rng | 18
of 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 srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |5 +
src
Define the required interfaces to export the API.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |4
src/driver.h |5
src/libvirt.c| 48 ++
src
/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
;
+rc = -1;
}
err_exit:
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
--
Regards,
Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
Linux Technology Center,
IBM India Systems and Technology Lab
--
libvir-list mailing
Define the required interfaces to make the API publicly
accessible.
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |4
src/driver.h |5 +
src/libvirt.c| 46
of 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 srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |5 +
src
://www.redhat.com/archives/libvir-list/2011-September/msg00438.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
include/libvirt/libvirt.h.in |9 +++
src/driver.h |5 ++
src/libvirt.c| 45 ++
src/libvirt_private.syms
me know your suggestions.
--
Regards,
Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
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
-list/2011-August/msg00282.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
docs/formatcaps.html.in | 19 +++---
docs/schemas/capability.rng | 18 +
include/libvirt/virterror.h |1 +
libvirt.spec.in |2 +
src/conf/capabilities.c
/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/msg00302.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
docs/formatcaps.html.in | 19
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.
The script pm-is-supported (from
/gmane.comp.emulators.libvirt/41688
[3] http://www.redhat.com/archives/libvir-list/2011-August/msg00238.html
[4] http://www.redhat.com/archives/libvir-list/2011-August/msg00248.html
Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com
---
docs/formatcaps.html.in | 19 ++---
docs
in [2].
Please let me know your comments and feedback.
References:
--
[1] Exporting KVM host power saving 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
53 matches
Mail list logo