KVM: Portability: Add two hooks to handle kvm_create and destroy vm
authorZhang Xiantao <xiantao@vtsmp-build32.los-vmm.org>
Sun, 18 Nov 2007 10:43:45 +0000 (18:43 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:04 +0000 (17:53 +0200)
commitd19a9cd275b0fdc793d1bb8b644b7aad0517e4bc
tree5dba36f58295f165e4fd3380742875d1867266f5
parenta16b043cc96db4a01abb337bef4a51cebcfcbb1b
KVM: Portability: Add two hooks to handle kvm_create and destroy vm

Add two arch hooks to handle kvm_create_vm and kvm destroy_vm. Now, just
put io_bus init and destory in common.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/x86.c