KVM: Simplify coalesced mmio initialization
commit980da6ce573b7c40886406674ff8f022a975e65e
authorAvi Kivity <avi@redhat.com>
Sun, 20 Dec 2009 13:13:43 +0000 (20 15:13 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:41 +0000 (1 12:35 -0300)
treeb8751c6b766e937ea137d84a48d248b63c2ac02d
parent50eb2a3cd0f50d912b26d0b79b7f443344608390
KVM: Simplify coalesced mmio initialization

- add destructor function
- move related allocation into constructor
- add stubs for !CONFIG_KVM_MMIO

Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/coalesced_mmio.c
virt/kvm/coalesced_mmio.h
virt/kvm/kvm_main.c