MC146818 RTC: add GPIO access to output IRQ
commit3638439d541835f20fb76346f14549800046af76
authorEfimov Vasily <real@ispras.ru>
Wed, 22 Jun 2016 12:24:57 +0000 (22 15:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 12:03:46 +0000 (29 14:03 +0200)
treeedc7c8e791da2354745ca4238a34e92a51e251d2
parent250263033c5343012b2cd6f01210ffb5b908a159
MC146818 RTC: add GPIO access to output IRQ

The MC146818 RTC device has output IRQ line. Currently the corresponding field
is only accessible through direct access. Such access violates Qemu model.

The patch makes the field accessible through GPIO. It also updates the setting
of the IRQ during initialization.

Signed-off-by: Efimov Vasily <real@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c