]> git.openfabrics.org - ~emulex/infiniband.git/commit
Merge tag 'kvm-s390-20140715' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms39...
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Jul 2014 11:35:43 +0000 (13:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Jul 2014 11:35:43 +0000 (13:35 +0200)
commitec10b72701fa2a5a6b05194cb2dbe48cb36c7115
tree9053a2157c089c67a1009f2a4323f898000a93b0
parent963fee1656603ce2e91ebb988cd5a92f2af41369
parent6352e4d2dd9a349024a41356148eced553e1dce4
Merge tag 'kvm-s390-20140715' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-next

This series enables the "KVM_(S|G)ET_MP_STATE" ioctls on s390 to make
the cpu state settable by user space.

This is necessary to avoid races in s390 SIGP/reset handling which
happen because some SIGPs are handled in QEMU, while others are
handled in the kernel. Together with the busy conditions as return
value of SIGP races happen especially in areas like starting and
stopping of CPUs. (For example, there is a program 'cpuplugd', that
runs on several s390 distros which does automatic onlining and
offlining on cpus.)

As soon as the MPSTATE interface is used, user space takes complete
control of the cpu states. Otherwise the kernel will use the old way.

Therefore, the new kernel continues to work fine with old QEMUs.
Documentation/virtual/kvm/api.txt