KVM: Fix kvm_coalesced_mmio_ring duplicate allocation
authorSheng Yang <sheng@linux.intel.com>
Thu, 21 Jan 2010 08:20:04 +0000 (16:20 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:03 +0000 (12:36 -0300)
commitf0f4b930900ffa8daddb5262522c3e5c67ee1835
tree1188f9b05fe66d15eb42ac47ca7b1f1a5fe52d31
parent727f5a23e2080b19da392f17fa3158a0941f81f5
KVM: Fix kvm_coalesced_mmio_ring duplicate allocation

The commit 0953ca73 "KVM: Simplify coalesced mmio initialization"
allocate kvm_coalesced_mmio_ring in the kvm_coalesced_mmio_init(), but
didn't discard the original allocation...

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c