make rtc alatm work
commitf292787d9addffd5f0a2df9516c158bfb5792b61
authorGleb Natapov <gleb@redhat.com>
Mon, 5 Jul 2010 08:36:34 +0000 (5 11:36 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Jul 2010 15:36:27 +0000 (6 10:36 -0500)
treeb2d0f5fb5473bae6cd720514eb5583e7a17a4e87
parent680a34eeb8f2d455121c67697fca146440e61612
make rtc alatm work

Convert alarm time from BCD if needed before comparing with current
time.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/mc146818rtc.c