When running several tests with tsan, thread races were detected when reading certain variables. This should allieviate the problem. Additionally, the apicbase member of APICCommonState has been updated to 64 bit to reflect its 36 bit contents.
Marc Morcos (4): apic: Resize APICBASE thread-pool: Fix thread race qmp: Fix thread race apic: Make apicbase accesses atomic to fix data race hw/i386/kvm/apic.c | 12 ++++++++---- hw/intc/apic_common.c | 24 ++++++++++++++---------- include/hw/i386/apic_internal.h | 2 +- monitor/monitor.c | 11 ++++++++++- monitor/qmp.c | 6 ++++-- util/thread-pool.c | 30 ++++++++++++++++-------------- 6 files changed, 53 insertions(+), 32 deletions(-) -- 2.52.0.239.gd5f0c6e74e-goog
