Correctly initialize msr list in KVM
commit4c9f7372fcf158d8a5d85ce9ce2988c27be63baf
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 13 Dec 2008 20:41:58 +0000 (13 20:41 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 13 Dec 2008 20:41:58 +0000 (13 20:41 +0000)
tree23435f16e571d9e70851f3fb104e7b2a950205d0
parent56cd2b96636641af4f2fc5be968cc6901f99a17a
Correctly initialize msr list in KVM

I believe this was spotted by Gerd Hoffman but I can't find his patch
now.  This will cause very subtle corruption on the heap because we
don't allocate the appropriately sized buffer.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6017 c046a42c-6fe2-441c-8c8c-71466251a162
target-i386/kvm.c