KVM: add vm refcounting
authorIzik Eidus <izike@qumranet.com>
Sun, 30 Mar 2008 13:01:25 +0000 (16:01 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:00:56 +0000 (12:00 +0300)
commitd39f13b0da7fa7f705fbe6c80995205d0380bc7a
treefebc1458c6225c70ca4c435047acf279fd77b019
parent9c20456a32ce9e82ccda55e12c10016b181d85e5
KVM: add vm refcounting

the main purpose of adding this functions is the abilaty to release the
spinlock that protect the kvm list while still be able to do operations
on a specific kvm in a safe way.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c