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)
commite769ece3b129698d2b09811a6f6d304e4eaa8c29
treed1a9b2150be948d13bfaefa942053231d5602f04
parent2b29a9fdcb92bfc6b6f4c412d71505869de61a56
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