qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Amos Kong <akong@redhat.com>,
	qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Cc: mprivozn@redhat.com, mjt@tls.msk.ru, lersek@redhat.com
Subject: Re: [Qemu-devel] [PATCH] qga: trivial fix for unclear document of guest-set-time
Date: Fri, 04 Apr 2014 09:01:27 -0600	[thread overview]
Message-ID: <533EC947.3030706@redhat.com> (raw)
In-Reply-To: <1396572808-21535-1-git-send-email-akong@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]

On 04/03/2014 06:53 PM, Amos Kong wrote:
> We mixedly used "guest time", "system time", "hardware time", "RTC"

s/mixedly used/mixed the use of/

> in document, it's unclear.

s/document/documentation/

> 
> This patch just added two remarks of RTC and replace two "guest time"
> by "guest's system time".
> 
> Signed-off-by: Amos Kong <akong@redhat.com>
> ---
>  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..25e4302 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). */

s/clock(/clock (/

> -# 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

and again

With those changes,
Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

      parent reply	other threads:[~2014-04-04 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04  0:53 [Qemu-devel] [PATCH] qga: trivial fix for unclear document of guest-set-time Amos Kong
2014-04-04  6:51 ` Michal Privoznik
2014-04-04 15:01 ` Eric Blake [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533EC947.3030706@redhat.com \
    --to=eblake@redhat.com \
    --cc=akong@redhat.com \
    --cc=lersek@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mprivozn@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).