qemu-devel
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 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 09:01:45 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 10/17/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.
Added important note to 'RTC_CHANGE' event description to highlight established 
implementation specifics.


Hmm, I just replied to v1 before seeing that you sent v2; my comments about long lines and a typo still apply.

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).
--
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]