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