[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 02/11] qga: trivial fix for unclear documentation o
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 02/11] qga: trivial fix for unclear documentation of guest-set-time |
Date: |
Tue, 8 Apr 2014 11:04:02 +0400 |
From: Amos Kong <address@hidden>
We mixed the use of "guest time", "system time", "hardware time",
"RTC" in documentation, it's unclear.
This patch just added two remarks of RTC and replace two "guest time"
by "guest's system time".
Signed-off-by: Amos Kong <address@hidden>
Reviewed-by: Michal Privoznik <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
qga/commands-posix.c | 2 +-
qga/qapi-schema.json | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index 6b5f11f..935a4ec 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -171,7 +171,7 @@ void qmp_guest_set_time(bool has_time, int64_t time_ns,
Error **errp)
/* Now, if user has passed a time to set and the system time is set, we
* just need to synchronize the hardware clock. However, if no time was
* passed, user is requesting the opposite: set the system time from the
- * hardware clock. */
+ * hardware clock (RTC). */
pid = fork();
if (pid == 0) {
setsid();
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 80edca1..a8cdcb3 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -96,8 +96,8 @@
##
# @guest-get-time:
#
-# Get the information about guest time relative to the Epoch
-# of 1970-01-01 in UTC.
+# Get the information about guest's System Time relative to
+# the Epoch of 1970-01-01 in UTC.
#
# Returns: Time in nanoseconds.
#
@@ -117,11 +117,11 @@
# gap was, NTP might not be able to resynchronize the
# guest.
#
-# This command tries to set guest time to the given value,
-# then sets the Hardware Clock to the current System Time.
-# This will make it easier for a guest to resynchronize
-# without waiting for NTP. If no @time is specified, then
-# the time to set is read from RTC.
+# This command tries to set guest's System Time to the
+# given value, then sets the Hardware Clock (RTC) to the
+# current System Time. This will make it easier for a guest
+# to resynchronize without waiting for NTP. If no @time is
+# specified, then the time to set is read from RTC.
#
# @time: #optional time of nanoseconds, relative to the Epoch
# of 1970-01-01 in UTC.
--
1.7.10.4
- [Qemu-trivial] [PULL for-2.0 00/11] Trivial patches for 2014-04-08, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 05/11] hw/ide/ahci.c: Avoid shift left into sign bit, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 04/11] net: Report error when device / hub combo is not found., Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 01/11] vl: Report accelerator not supported for target more nicely, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 02/11] qga: trivial fix for unclear documentation of guest-set-time,
Michael Tokarev <=
- [Qemu-trivial] [PULL 07/11] xbzrle.c: Avoid undefined behaviour with signed arithmetic, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 06/11] int128.h: Avoid undefined behaviours involving signed arithmetic, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 03/11] configure: Fix indentation of help for --enable/disable-debug-info, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 09/11] configure: Remove redundant message for -Werror, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 11/11] Fix grammar in comment, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 08/11] scripts: add sample model file for Coverity Scan, Michael Tokarev, 2014/04/08
- [Qemu-trivial] [PULL 10/11] doc: grammify "allows to", Michael Tokarev, 2014/04/08
- Re: [Qemu-trivial] [Qemu-devel] [PULL for-2.0 00/11] Trivial patches for 2014-04-08, Peter Maydell, 2014/04/08