On Mon, Mar 15, 2010 at 10:13:30PM +0900, Takuya Yoshikawa wrote: > kvm_coalesced_mmio_init() keeps to hold the addresses of a coalesced > mmio ring page and dev even after it has freed them. > > Also, if this function fails, though it might be rare, it seems to be > suggesting the system's serious state: so we'd better stop the works > following the kvm_creat_vm(). > > This patch clears these problems. > > We move the coalesced mmio's initialization out of kvm_create_vm(). > This seems to be natural because it includes a registration which > can be done only when vm is successfully created. > > Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@xxxxxxxxxxxxx> > --- > virt/kvm/coalesced_mmio.c | 2 ++ > virt/kvm/kvm_main.c | 12 ++++++++---- > 2 files changed, 10 insertions(+), 4 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html