]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7a8f03b53f4f37438fbf31a1a429036760ef55d
tree92988306f9aa606b777b219ade16a6f244e4cdef
parentb5e0ebbffb5678c1aabc3bd9221a3f5528ccd791
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