KVM: cleanup memslot_id function
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 9 Mar 2011 07:41:59 +0000 (15:41 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:53 +0000 (07:56 -0400)
commit0ee8dcb87e403397e575674d0e79272b06dea12e
tree64fe3a441b259105ae4f38cbf4e7e3c9e204b9bd
parent9f381a61f58bb6487c93ce2233bb9992f8ea9211
KVM: cleanup memslot_id function

We can get memslot id from memslot->id directly

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c