]> git.proxmox.com Git - mirror_qemu.git/commit - cpus-common.c
*_run_on_cpu: introduce run_on_cpu_data type
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 31 Oct 2016 09:36:08 +0000 (10:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 31 Oct 2016 14:00:25 +0000 (15:00 +0100)
commit14e6fe12a705c065fecdfd2a97199728123d4d9a
treec78875a95ca8fa9f6bac7dc95a1415f5dbfb7cfc
parent12e9700d7a926aeb7f97a5d3c368bbe6745be884
*_run_on_cpu: introduce run_on_cpu_data type

This changes the *_run_on_cpu APIs (and helpers) to pass data in a
run_on_cpu_data type instead of a plain void *. This is because we
sometimes want to pass a target address (target_ulong) and this fails on
32 bit hosts emulating 64 bit guests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20161027151030.20863-24-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
16 files changed:
cpus-common.c
cpus.c
hw/i386/kvm/apic.c
hw/i386/kvmvapic.c
hw/ppc/ppce500_spin.c
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
include/qom/cpu.h
kvm-all.c
target-i386/helper.c
target-i386/kvm.c
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/kvm.c
target-s390x/misc_helper.c
translate-all.c