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
On Mon, Nov 28, 2011 at 10:56:33AM -0700, 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) {
> >>>
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");
>>> +if (cmdStr
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 befor
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
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 the host gets suspended. This asynchronous
> operation
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 the host gets suspended. This asynchronous
operation is achieved by suspending the host in a separate thread of
execution. How