This series mostly contains PC-related patches I came up with when doing "virtual retrocomputing" on my via-apollo-pro-133t branch [1] which includes improved tracing and type safety. The remaining patch resolves duplicate code in the test of DS1338 RTC which is used in e500 machines.
[1] https://github.com/shentok/qemu/tree/via-apollo-pro-133t Bernhard Beschow (8): hw/timer/i8254: Add I/O trace events hw/audio/pcspk: Add I/O trace events hw/rtc/mc146818rtc: Convert CMOS_DPRINTF() into trace events hw/rtc/mc146818rtc: Use ARRAY_SIZE macro hw/rtc/mc146818rtc: Assert correct usage of mc146818rtc_set_cmos_data() hw/i386/apic: Prefer APICCommonState over DeviceState hw/ide/ide-internal: Move dma_buf_commit() into ide "namespace" tests/qtest/ds1338-test: Reuse from_bcd() hw/ide/ide-internal.h | 2 +- include/hw/i386/apic.h | 33 +++++------ include/hw/i386/apic_internal.h | 7 +-- target/i386/cpu.h | 4 +- target/i386/kvm/kvm_i386.h | 2 +- target/i386/whpx/whpx-internal.h | 2 +- hw/audio/pcspk.c | 10 +++- hw/i386/kvm/apic.c | 3 +- hw/i386/vapic.c | 2 +- hw/i386/x86-cpu.c | 2 +- hw/ide/ahci.c | 8 +-- hw/ide/core.c | 10 ++-- hw/intc/apic.c | 97 +++++++++++++------------------- hw/intc/apic_common.c | 56 +++++++----------- hw/rtc/mc146818rtc.c | 20 ++----- hw/timer/i8254.c | 6 ++ target/i386/cpu-apic.c | 4 +- target/i386/cpu.c | 2 +- target/i386/kvm/kvm.c | 2 +- target/i386/whpx/whpx-apic.c | 3 +- tests/qtest/ds1338-test.c | 12 ++-- hw/audio/trace-events | 4 ++ hw/rtc/trace-events | 4 ++ hw/timer/trace-events | 4 ++ 24 files changed, 136 insertions(+), 163 deletions(-) -- 2.51.1.dirty
