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)
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>

No differences found