vl, qapi: offset calculation in RTC_CHANGE event reverted
commitac0989f53dd08ba7831130396f794b3e3bdf2d1a
authorArtem Pisarenko <artem.k.pisarenko@gmail.com>
Thu, 18 Oct 2018 07:12:55 +0000 (18 13:12 +0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:12 +0000 (19 13:44 +0200)
tree237a765f2dd464e678f59d3b85b2c354440a4739
parenteb6a52099160f1a6e66d7ee042bbf7fb5dba67d6
vl, qapi: offset calculation in RTC_CHANGE event reverted

Return value of qemu_timedate_diff(), used for calculation offset in
QAPI 'RTC_CHANGE' event, restored to keep compatibility. Since it
wasn't documented that difference is relative to host clock
advancement, this change also adds important note to 'RTC_CHANGE'
event description to highlight established implementation specifics.

Signed-off-by: Artem Pisarenko <artem.k.pisarenko@gmail.com>
Message-Id: <1fc12c77e8b7115d3842919a8b586d9cbe4efca6.1539846575.git.artem.k.pisarenko@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qapi/misc.json
vl.c