]> git.baikalelectronics.ru Git - kernel.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)
commit2316f9611cbdcc522d7f3125d1e9907517a1f1d7
tree9053a2157c089c67a1009f2a4323f898000a93b0
parent1431b3e8c21e90c8f4f6c54d99eb8ba717d26289
parent0bba43e13c63d30cd32a6a5b23f4d0ed0ff34a11
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