kvm: destroy emulated devices on VM exit
authorScott Wood <scottwood@freescale.com>
Thu, 25 Apr 2013 14:11:23 +0000 (14:11 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:28 +0000 (20:27 +0200)
commit07f0a7bdec5c4039cfb9b836482c45004d4c21cc
treeea47de6fc439dd8d20d6d1d0c4f9cd21f95c2fcb
parent22e64024fb83065664160d1c28a10aa98cb5f24c
kvm: destroy emulated devices on VM exit

The hassle of getting refcounting right was greater than the hassle
of keeping a list of devices to destroy on VM exit.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/mpic.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c