qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] vl, qapi: offset value calculation in RTC_C


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 4/4] vl, qapi: offset value calculation in RTC_CHANGE event reverted to match behavior before #1797033 bugfix and documented
Date: Wed, 17 Oct 2018 08:56:36 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 10/11/18 7:23 AM, Artem Pisarenko wrote:
Return value of qemu_timedate_diff(), used for calculation offset in QAPI 
'RTC_CHANGE' event restored to keep compatibility, although it isn't documented 
that difference is relative to host clock advancement.

Long line. Remember to manually wrap commit messages around 70 columns or so, so that they still fit in an 80-column window under 'git log' which adds leading indentation.

Also, the subject line is way too long (there, you should target 60 columns or less; 'git shortlog -30' will give you some ideas of typical summaries).

Added important note to 'RTC_CHANGE' event description to highlight established 
implementation specifics.

Signed-off-by: Artem Pisarenko <address@hidden>
---
  qapi/misc.json |  3 ++-
  vl.c           | 10 +++++-----
  2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/qapi/misc.json b/qapi/misc.json
index ada9af5..ed866f2 100644
--- a/qapi/misc.json
+++ b/qapi/misc.json
@@ -3070,7 +3070,8 @@
  # Emitted when the guest changes the RTC time.
  #
  # @offset: offset between base RTC clock (as specified by -rtc base), and
-#          new RTC clock value
+#          new RTC clock value. Note that value will be different depending
+#          on clock choosen to drive RTC (specified by -rtc clock).

s/choosen/chosen/

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]