]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: fix pfmf non-quiescing control handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 26 Jul 2013 13:04:01 +0000 (15:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jul 2013 07:02:30 +0000 (09:02 +0200)
commitd88f77545bb54714313f47b4e856d605db8b1754
treed1a9b2150be948d13bfaefa942053231d5602f04
parentdde576ace7b1888219c71115e9f2bbc37d77c45f
KVM: s390: fix pfmf non-quiescing control handling

Fix the test within handle_pfmf() if the host has the NQ key-setting
facility installed.
Right now the code would incorrectly generate a program check in the
guest if the NQ control bit for a pfmf request was set and if the host
has the NQ key-setting facility installed.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/priv.c