KVM: ia64: cleanup kvm_ia64_sync_dirty_log()
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Wed, 23 Jun 2010 06:00:29 +0000 (15:00 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:47:16 +0000 (10:47 +0300)
commit979586e0b5809c46ebe5d784794a9f6d859b665e
tree92988306f9aa606b777b219ade16a6f244e4cdef
parent4482b06c0459469c101a1da3f4b24594da557f99
KVM: ia64: cleanup kvm_ia64_sync_dirty_log()

kvm_ia64_sync_dirty_log() is a helper function for kvm_vm_ioctl_get_dirty_log()
which copies ia64's arch specific dirty bitmap to general one in memslot.
So doing sanity checks in this function is unnatural. We move these checks
outside of this and change the prototype appropriately.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c