]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7311c45ccc555019465d1ff85b0b9889c8ef874a
tree1895de31abc875c5b7d818e9d900a92b6aa507bb
parentbd09d277fceec0789ee78a74985b3afdd40b230e
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