]> Git Repo - linux.git/commit - arch/s390/kvm/kvm-s390.c
KVM: s390: don't switch to ESCA for ucontrol
authorDavid Hildenbrand <[email protected]>
Mon, 12 Oct 2015 10:57:22 +0000 (12:57 +0200)
committerChristian Borntraeger <[email protected]>
Mon, 30 Nov 2015 11:47:11 +0000 (12:47 +0100)
commit4215825eeb1f704d1bd327ca01fb753b53ea34d3
tree23a94e428b2b0d7cef3c5c8a4e2322f3a3b24bfc
parenteaa78f343255dabac963ab8c7644367844d18e00
KVM: s390: don't switch to ESCA for ucontrol

sca_add_vpcu is not called for ucontrol guests. We must also not
apply the sca checking for sca_can_add_vcpu as ucontrol guests
do not have to follow the sca limits.

As common code already checks that id < KVM_MAX_VCPUS all other
data structures are safe as well.

Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
arch/s390/kvm/kvm-s390.c
This page took 0.049979 seconds and 4 git commands to generate.