OSDN Git Service

KVM: s390: Zero out current VMDB of STSI before including level3 data.
authorEkaterina Tumanova <tumanova@linux.vnet.ibm.com>
Tue, 3 Mar 2015 08:54:41 +0000 (09:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:39 +0000 (22:03 +0200)
commit7f1a4ebee923455bb5f50ab4ce832194dff859a7
tree1b07cd0b71fad88a81e4c040d1506594183cc6e5
parent98529eff3f93a3179a35f9ae459e21f64e8be813
KVM: s390: Zero out current VMDB of STSI before including level3 data.

commit b75f4c9afac2604feb971441116c07a24ecca1ec upstream.

s390 documentation requires words 0 and 10-15 to be reserved and stored as
zeros. As we fill out all other fields, we can memset the full structure.

Signed-off-by: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/priv.c