Re: [Qemu-devel] [PATCH] make rtc alatm work

2010-07-06 Thread Anthony Liguori
On 07/05/2010 03:36 AM, Gleb Natapov wrote: Convert alarm time from BCD if needed before comparing with current time. Signed-off-by: Gleb Natapov Applied. Thanks. Regards, Anthony Liguori diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c index c3459bf..2b91fa8 100644 --- a/hw/mc146818r

[Qemu-devel] [PATCH] make rtc alatm work

2010-07-05 Thread Gleb Natapov
Convert alarm time from BCD if needed before comparing with current time. Signed-off-by: Gleb Natapov diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c index c3459bf..2b91fa8 100644 --- a/hw/mc146818rtc.c +++ b/hw/mc146818rtc.c @@ -214,7 +214,6 @@ static void cmos_ioport_write(void *opaque, uint32