render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
c401cc
From cf46dfbc991f852959352307dd613df64a6fab73 Mon Sep 17 00:00:00 2001
c401cc
Message-Id: <cf46dfbc991f852959352307dd613df64a6fab73.1390394207.git.jdenemar@redhat.com>
c401cc
From: Osier Yang <jyang@redhat.com>
c401cc
Date: Wed, 22 Jan 2014 18:11:58 +0800
c401cc
Subject: [PATCH] Doc: Improve the document for nodesuspend
c401cc
c401cc
https://bugzilla.redhat.com/show_bug.cgi?id=1045089
c401cc
c401cc
Explicitly lists the possible values for "--target" option;
c401cc
Gets rid of the confused strings like "Suspend-to-RAM";
c401cc
Emphasises the node *has to* be suspended in the time duration
c401cc
specified by "--duration". And rewords the entire document a
c401cc
bit according to the API's implementation and document.
c401cc
(cherry picked from commit 39a0e328674c2252cedc034091b459e0f6779c16)
c401cc
c401cc
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c401cc
---
c401cc
 tools/virsh.pod | 13 ++++++++-----
c401cc
 1 file changed, 8 insertions(+), 5 deletions(-)
c401cc
c401cc
diff --git a/tools/virsh.pod b/tools/virsh.pod
c401cc
index 74ea0bc..6b47d59 100644
c401cc
--- a/tools/virsh.pod
c401cc
+++ b/tools/virsh.pod
c401cc
@@ -296,11 +296,14 @@ If I<cell> is specified, this will prints specified cell statistics only.
c401cc
 
c401cc
 =item B<nodesuspend> [I<target>] [I<duration>]
c401cc
 
c401cc
-Puts the node (host machine) into a system-wide sleep state such as
c401cc
-Suspend-to-RAM, Suspend-to-Disk or Hybrid-Suspend and sets up a
c401cc
-Real-Time-Clock interrupt to fire (to wake up the node) after a time delay
c401cc
-specified by the 'duration' parameter. The duration time should be
c401cc
-at least 60 seconds.
c401cc
+Puts the node (host machine) into a system-wide sleep state and schedule
c401cc
+the node's Real-Time-Clock interrupt to resume the node after the time
c401cc
+duration specified by I<duration> is out.
c401cc
+I<target> specifies the state to which the host will be suspended to, it
c401cc
+can be "mem" (suspend to RAM), "disk" (suspend to disk), or "hybrid"
c401cc
+(suspend to both RAM and disk).  I<duration> specifies the time duration
c401cc
+in seconds for which the host has to be suspended, it should be at least
c401cc
+60 seconds.
c401cc
 
c401cc
 =item B<node-memory-tune> [I<shm-pages-to-scan>] [I<shm-sleep-millisecs>]
c401cc
 
c401cc
-- 
c401cc
1.8.5.3
c401cc