Message ID | 20180409151533.2253-2-cohuck@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,for-2.12,1/8] s390x/kvm: call cpu_synchronize_state() on every kvm_arch_handle_exit() | expand |
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index f570896dc1..fb59d92def 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -1778,6 +1778,8 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) qemu_mutex_lock_iothread(); + cpu_synchronize_state(cs); + switch (run->exit_reason) { case KVM_EXIT_S390_SIEIC: ret = handle_intercept(cpu);