qtest: add rtc periodic timer test
commitbd618eab7641693f0838da52c5af5c8050f831d3
authorXiao Guangrong <xiaoguangrong@tencent.com>
Sat, 27 May 2017 02:53:01 +0000 (27 10:53 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jun 2017 18:18:35 +0000 (6 20:18 +0200)
tree67073e289005de2a59b5c1f722a981b0c9aacb0e
parente0c8b950d17a57343926ed937af10e8903b0d6cc
qtest: add rtc periodic timer test

It tests the accuracy of rtc periodic timer which is recently
improved & fixed by commit 7ffcb539a3 ("mc146818rtc: precisely count
the clock for periodic timer", 2017-05-19).

Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20170527025301.23499-1-xiaoguangrong@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c
include/hw/timer/mc146818rtc_regs.h
tests/rtc-test.c