KVM: s390: Fix possible host kernel bug on lctl(g) handling
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 25 Jul 2008 13:53:12 +0000 (15:53 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Jul 2008 08:36:20 +0000 (11:36 +0300)
commit5a00a5e7a3e013b2323f87c1b69ff9557eae5ec9
tree1895de31abc875c5b7d818e9d900a92b6aa507bb
parentf5e10b09a5f8fc40666c95fe0cd6bcc2b8f11437
KVM: s390: Fix possible host kernel bug on lctl(g) handling

The lctl(g) instructions require a specific alignment for the parameters.
The architecture requires a specification program check if these alignments
are not used. Enforcing this alignment also removes a possible host BUG,
since the get_guest functions check for proper alignment and emits a BUG.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/s390/kvm/intercept.c