]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Memset vcpu to zeros
authorAlexander Graf <alex@csgraf.de>
Mon, 22 Feb 2010 15:52:08 +0000 (16:52 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:39:21 +0000 (12:39 +0300)
commit7e821d3920c130d413c4c7454b0ece59445490db
tree8c2d6bb66928fca7c19ecd7cedd1cb99cc67efd5
parenta1efbe77c1fd7c34a97a76a61520bf23fb3663f6
KVM: PPC: Memset vcpu to zeros

While converting the kzalloc we used to allocate our vcpu struct to
vmalloc, I forgot to memset the contents to zeros. That broke quite
a lot.

This patch memsets it to zero again.

Signed-off-by: Alexander Graf <alex@csgraf.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c