• C
    KVM: s390: fix signal handling · b1d16c49
    Christian Ehrhardt 提交于
    If signal pending is true we exit without updating kvm_run, userspace
    currently just does nothing and jumps to kvm_run again.
    Since we did not set an exit_reason we might end up with a random one
    (whatever was the last exit). Therefore it was possible to e.g. jump to
    the psw position the last real interruption set.
    Setting the INTR exit reason ensures that no old psw data is swapped
    in on reentry.
    Signed-off-by: NChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    b1d16c49
kvm-s390.c 19.9 KB