On 12.04.2018 11:35, David Hildenbrand wrote: > We have a call to cpu_synchronize_state() on every kvm_arch_handle_exit(). > > Let's remove the ones that are no longer needed. > > Remaining places (for s390x) are in > - target/s390x/sigp.c, on the target CPU > - target/s390x/cpu.c:s390_cpu_get_crash_info() > > While at it, use kvm_cpu_synchronize_state() instead of > cpu_synchronize_state() in KVM code. (suggested by Thomas Huth) > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > hw/s390x/s390-pci-inst.c | 8 -------- > target/s390x/kvm.c | 20 +------------------- > 2 files changed, 1 insertion(+), 27 deletions(-)
Wow, that was really a mess, looking at which different "levels" the cpu_synchronize_state was done before. Good that you cleaned it up now. Reviewed-by: Thomas Huth <th...@redhat.com>