]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: s390: vsie: fix riccbd
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 2 Sep 2016 10:33:49 +0000 (12:33 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 5 Sep 2016 11:48:50 +0000 (13:48 +0200)
commit4d21cef3ea00ba3ac508eb61fb8db70e3e31df67
tree29f00dd2113996d4764b655e5bc245f3d7da7b20
parent20b8f9e2dde171c69da4a79c34fccdc2a8492797
KVM: s390: vsie: fix riccbd

We store the address of riccbd at the wrong location, overwriting
gvrd. This means that our nested guest will not be able to use runtime
instrumentation. Also, a memory leak, if our KVM guest actually sets gvrd.

Not noticed until now, as KVM guests never make use of gvrd and runtime
instrumentation wasn't completely tested yet.

Reported-by: Fan Zhang <zhangfan@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/vsie.c