]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Allow stfle instruction in the guest
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 23 Jun 2009 15:24:07 +0000 (17:24 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 28 Jun 2009 11:10:30 +0000 (14:10 +0300)
commitdb2329746ac6e4b2cea3f7b0f9f143725b3737a8
treed7455e080646902480a85d5608ce9df0aaf5fff5
parent8c42d0db399f058d507aea9dc1774b9fe2031816
KVM: s390: Allow stfle instruction in the guest

2.6.31-rc introduced an architecture level set checker based on facility
bits. e.g. if the kernel is compiled to run only on z9, several facility
bits are checked very early and the kernel refuses to boot if a z9 specific
facility is missing.
Until now kvm on s390 did not implement the store facility extended (STFLE)
instruction. A 2.6.31-rc kernel that was compiled for z9 or higher did not
boot in kvm. This patch implements stfle.

This patch should go in before 2.6.31.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/priv.c